Skip to content

Commit 4169e8d

Browse files
committed
fix(api): mutualize admin sdk initialization
1 parent 6086daf commit 4169e8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/runtime/auth/api.session-verification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { getApp as getAdminApp } from 'firebase-admin/app'
21
import { getAuth as getAdminAuth } from 'firebase-admin/auth'
32
import {
43
readBody,
@@ -7,6 +6,7 @@ import {
76
defineEventHandler,
87
deleteCookie,
98
} from 'h3'
9+
import { getAdminApp } from 'vuefire/server'
1010
import { log } from '../logging'
1111

1212
/**

0 commit comments

Comments
 (0)