Skip to content

Commit 8d3af7e

Browse files
authored
docs: fix typo
Change useServerSession() to useUserSession()
1 parent de0e01c commit 8d3af7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export default defineNitroPlugin(() => {
250250
// throw createError({ ... }) if session is invalid for example
251251
})
252252

253-
// Called when we call useServerSession().clear() or clearUserSession(event)
253+
// Called when we call useUserSession().clear() or clearUserSession(event)
254254
sessionHooks.hook('clear', async (session, event) => {
255255
// Log that user logged out
256256
})

0 commit comments

Comments
 (0)