Skip to content

Commit

Permalink
chore: typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux authored Aug 2, 2024
1 parent b4d5ce2 commit b96a017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/app/plugins/session.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default defineNuxtPlugin({
name: 'session-fetch-plugin',
enforce: 'pre',
async setup(nuxtApp) {
// Flag is request is cached
// Flag if request is cached
nuxtApp.payload.isCached = Boolean(useRequestEvent()?.context.cache)
if (nuxtApp.payload.serverRendered && !nuxtApp.payload.prerenderedAt && !nuxtApp.payload.isCached) {
await useUserSession().fetch()
Expand Down

0 comments on commit b96a017

Please sign in to comment.