chore: lint

This commit is contained in:
Bereket Engida
2024-12-31 15:30:06 +03:00
parent b896949956
commit d058125ba2
2 changed files with 5 additions and 5 deletions

View File

@@ -300,7 +300,7 @@ describe("email-otp-verify", async () => {
},
);
it("should not create verification otp when disableSignUp and user not registered", async() => {
it("should not create verification otp when disableSignUp and user not registered", async () => {
for (let param of [
{
email: "test-email@domain.com",
@@ -322,12 +322,12 @@ describe("email-otp-verify", async () => {
},
});
if (param.isNull) {
expect(res.otp).toBeNull()
expect(res.otp).toBeNull();
} else {
expect(res.otp).not.toBeNull()
expect(res.otp).not.toBeNull();
}
}
})
});
it("should verify email with last otp", async () => {
await client.emailOtp.sendVerificationOtp({

View File

@@ -65,7 +65,7 @@ export const google = (options: GoogleOptions) => {
codeVerifier,
redirectURI,
});
options.accessType &&
url.searchParams.set("access_type", options.accessType);
options.prompt && url.searchParams.set("prompt", options.prompt);