Skip to content

Commit 20fa641

Browse files
committed
chore: type assertion
1 parent d492728 commit 20fa641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/runtime/auth/plugin-authenticate-user.server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { defineNuxtPlugin, useRequestEvent } from '#imports'
1414
* Setups the auth state based on the cookie.
1515
*/
1616
export default defineNuxtPlugin(async (nuxtApp) => {
17-
const event = useRequestEvent()
17+
const event = useRequestEvent()!
1818
const firebaseApp = nuxtApp.$firebaseApp as FirebaseApp
1919
const firebaseAdminApp = nuxtApp.$firebaseAdminApp as AdminApp
2020
const adminAuth = getAdminAuth(firebaseAdminApp)

0 commit comments

Comments
 (0)