Skip to content

Commit 8da53fc

Browse files
committed
Return a response when logging out
1 parent 3134029 commit 8da53fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/routes/account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ export const accountRoutes = app
5959
await db.deleteSession(sessionId);
6060
deleteCookie(c, "session");
6161
}
62-
c.text("", 204);
62+
return c.json({}, 204);
6363
});

0 commit comments

Comments
 (0)