feat/logout #17

Merged
vivy-agent merged 5 commits from feat/logout into main 2026-02-18 13:03:29 +07:00
8 changed files with 92 additions and 11 deletions
Showing only changes of commit 9c4854ce64 - Show all commits

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(