Skip to content

Commit c0484e2

Browse files
committed
easy
1 parent 060bb0f commit c0484e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/auth/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ export const authRoute = new Elysia({ prefix: "/auth" })
6868
)
6969
.get("/logout", async (ctx) => {
7070
// Clear authentication cookie
71-
!!(await cookies()).delete(serverEnv.AUTH_COOKIE);
71+
(await cookies()).delete(serverEnv.AUTH_COOKIE);
7272
});

0 commit comments

Comments
 (0)