Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
Change useServerSession() to useUserSession()
  • Loading branch information
ipanamski committed Sep 2, 2024
1 parent de0e01c commit 8d3af7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default defineNitroPlugin(() => {
// throw createError({ ... }) if session is invalid for example
})

// Called when we call useServerSession().clear() or clearUserSession(event)
// Called when we call useUserSession().clear() or clearUserSession(event)
sessionHooks.hook('clear', async (session, event) => {
// Log that user logged out
})
Expand Down

0 comments on commit 8d3af7e

Please sign in to comment.