Commit 8391985
authored
small refactor to clarify logic (#362)
Small logic clarification I came across as I was catching up on the new
provider. `getClientToken` already handles the `AuthEndpoint` type for
both cases: when it's a `function` and when it's a `string`.1 parent 3c63b8d commit 8391985
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
| 312 | + | |
316 | 313 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | 314 | | |
| 315 | + | |
322 | 316 | | |
323 | 317 | | |
324 | 318 | | |
| |||
0 commit comments