mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-10-13 18:44:45 +02:00
「🔨」 fix: fixed some things.
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user