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 360fa0c commit ee20d12Copy full SHA for ee20d12
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