Skip to content

Commit 04ffbf7

Browse files
committed
chore: linting issues fixed
1 parent 014734f commit 04ffbf7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/utils/generateAuthUrl.test.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe("generateAuthUrl", () => {
2424
const result = await generateAuthUrl(
2525
domain,
2626
IssuerRouteTypes.login,
27-
options
27+
options,
2828
);
2929
const nonce = result.url.searchParams.get("nonce");
3030
expect(nonce).not.toBeNull();
@@ -53,7 +53,7 @@ describe("generateAuthUrl", () => {
5353
const result = await generateAuthUrl(
5454
domain,
5555
IssuerRouteTypes.register,
56-
options
56+
options,
5757
);
5858
const nonce = result.url.searchParams.get("nonce");
5959
expect(nonce).not.toBeNull();
@@ -81,7 +81,7 @@ describe("generateAuthUrl", () => {
8181
const result = await generateAuthUrl(
8282
domain,
8383
IssuerRouteTypes.login,
84-
options
84+
options,
8585
);
8686
const nonce = result.url.searchParams.get("nonce");
8787
expect(nonce).not.toBeNull();
@@ -106,7 +106,7 @@ describe("generateAuthUrl", () => {
106106
const result = await generateAuthUrl(
107107
domain,
108108
IssuerRouteTypes.login,
109-
options
109+
options,
110110
);
111111
const nonce = result.url.searchParams.get("nonce");
112112
expect(nonce).not.toBeNull();
@@ -134,7 +134,7 @@ describe("generateAuthUrl", () => {
134134
const result = await generateAuthUrl(
135135
domain,
136136
IssuerRouteTypes.login,
137-
options
137+
options,
138138
);
139139
const nonce = result.url.searchParams.get("nonce");
140140
expect(nonce).not.toBeNull();

lib/utils/generateAuthUrl.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { mapLoginMethodParamsForUrl } from "./mapLoginMethodParamsForUrl";
1212
export const generateAuthUrl = async (
1313
domain: string,
1414
type: IssuerRouteTypes = IssuerRouteTypes.login,
15-
options: LoginOptions
15+
options: LoginOptions,
1616
): Promise<{
1717
url: URL;
1818
state: string;

0 commit comments

Comments
 (0)