Skip to content

Commit 08f7232

Browse files
committed
chore: lint
1 parent 4738ed4 commit 08f7232

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

lib/utils/exchangeAuthCode.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,19 @@ type ExchangeAuthCodeResultSuccess = {
3030
[StorageKeys.accessToken]?: string;
3131
[StorageKeys.idToken]?: string;
3232
[StorageKeys.refreshToken]?: string;
33-
}
33+
};
3434

3535
type ExchangeAuthCodeResultError = {
3636
success: false;
3737
error: string;
3838
[StorageKeys.accessToken]?: never;
3939
[StorageKeys.idToken]?: never;
4040
[StorageKeys.refreshToken]?: never;
41-
}
41+
};
4242

43-
type ExchangeAuthCodeResult = ExchangeAuthCodeResultSuccess | ExchangeAuthCodeResultError
43+
type ExchangeAuthCodeResult =
44+
| ExchangeAuthCodeResultSuccess
45+
| ExchangeAuthCodeResultError;
4446

4547
export const exchangeAuthCode = async ({
4648
urlParams,

lib/utils/generateAuthUrl.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ describe("generateAuthUrl", () => {
188188
clientId: "client123",
189189
redirectURL: "https://example.com",
190190
prompt: PromptTypes.login,
191-
state: testState
191+
state: testState,
192192
};
193193

194194
await generateAuthUrl(domain, IssuerRouteTypes.login, options);

0 commit comments

Comments
 (0)