We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db2f5d5 commit 0264234Copy full SHA for 0264234
1 file changed
server/api/auth/session.delete.ts
@@ -1,6 +1,5 @@
1
export default eventHandlerWithOAuthSession(async (event, oAuthSession, serverSession) => {
2
- await oAuthSession?.signOut()
3
- await serverSession.clear()
+ await Promise.all([oAuthSession?.signOut(), serverSession.clear()])
4
5
return 'Session cleared'
6
})
0 commit comments