🩹 fix: change header name in cookie validation
Some checks failed
Integration Tests / integration-tests (pull_request) Failing after 28s

This commit is contained in:
2026-02-18 12:55:16 +07:00
parent 9e84460a22
commit 9c4854ce64

View File

@ -6,7 +6,7 @@ import { parse } from "cookie";
export const logoutController = async (ctx: Context) => {
try {
const jwtToken = parse(ctx.request.headers.get("auth_token") || "")
const jwtToken = parse(ctx.request.headers.get("Cookie") || "")
.auth_token as string;
const serviceResponse = await logoutService(jwtToken);
return returnWriteResponse(