Skip to content

Commit e2fe56d

Browse files
readded debug
1 parent 7c7a45c commit e2fe56d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/utils/getDBref.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { getDatabase } from "firebase-admin/database"
33
import admin from "firebase-admin"
44

55
export async function getRef() {
6+
console.log("process",process.env.API_AUTH_KEY)
67
var fet = await fetch("https://portfolio-api-backend.vercel.app/server/api/getDB",{headers: {auth : process.env.API_AUTH_KEY as string}}).then(async (res) => { return await res.json() })
78
if (!admin.apps.length) {
89
admin.initializeApp({

0 commit comments

Comments
 (0)