From 705571ee120e2f86ade38b2c8768211867aa555c Mon Sep 17 00:00:00 2001 From: adjoly Date: Wed, 1 Oct 2025 20:16:58 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20some=20things.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/auth/logout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/auth/logout.js b/src/api/auth/logout.js index 84d1d22..b3c57ef 100644 --- a/src/api/auth/logout.js +++ b/src/api/auth/logout.js @@ -9,7 +9,7 @@ export async function logout(reply, fastify) { try { return reply .code(200) - .clearCookie() + .clearCookie("token") .send({ msg: "Logout successful" }); } catch { fastify.log.error(err);