Fix logout endpoint
All checks were successful
ci/woodpecker/push/docker Pipeline was successful

This commit is contained in:
Oliver Traber 2025-03-14 00:11:39 +00:00
parent 46b5040099
commit 65183e26c0
Signed by: Bluemedia
GPG key ID: C0674B105057136C

View file

@ -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()