🔨」 fix: fixed some things.

This commit is contained in:
2025-10-01 20:16:58 +02:00
parent 544289e2af
commit 705571ee12

View File

@ -9,7 +9,7 @@ export async function logout(reply, fastify) {
try { try {
return reply return reply
.code(200) .code(200)
.clearCookie() .clearCookie("token")
.send({ msg: "Logout successful" }); .send({ msg: "Logout successful" });
} catch { } catch {
fastify.log.error(err); fastify.log.error(err);