We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 060bb0f commit c0484e2Copy full SHA for c0484e2
src/server/auth/index.ts
@@ -68,5 +68,5 @@ export const authRoute = new Elysia({ prefix: "/auth" })
68
)
69
.get("/logout", async (ctx) => {
70
// Clear authentication cookie
71
- !!(await cookies()).delete(serverEnv.AUTH_COOKIE);
+ (await cookies()).delete(serverEnv.AUTH_COOKIE);
72
});
0 commit comments