diff --git a/src/components/auth/sign-out-button.tsx b/src/components/auth/sign-out-button.tsx index 7cb03457..6db99095 100644 --- a/src/components/auth/sign-out-button.tsx +++ b/src/components/auth/sign-out-button.tsx @@ -36,7 +36,7 @@ export default function SignoutButton({ //? Before signing out, we want to delete the session from the server if (currentSession) await deleteSessionMutation.mutateAsync({ - sessionToken: currentSession, + id: currentSession, }) } catch (e) { logger.error(e)