From 65183e26c0270312f8dfb4130e999cda94b67229 Mon Sep 17 00:00:00 2001 From: BluemediaDev Date: Fri, 14 Mar 2025 00:11:39 +0000 Subject: [PATCH] Fix logout endpoint --- backend/app/routers/auth_v1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/routers/auth_v1.py b/backend/app/routers/auth_v1.py index 3abc4de..3a4e1ba 100644 --- a/backend/app/routers/auth_v1.py +++ b/backend/app/routers/auth_v1.py @@ -45,7 +45,7 @@ async def logout( Remove the current session based on the access token, effectively invalidating the current refresh token. """ await session_service.remove_session( - db=db, id=UUID(token.session), initiator=f"user:{token.subject}" + db=db, id=UUID(token.session) ) return list()