We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 261fc8d commit 89c920fCopy full SHA for 89c920f
app/utils/getDBref.ts
@@ -3,7 +3,7 @@ import { getDatabase } from "firebase-admin/database"
3
import admin from "firebase-admin"
4
5
export async function getRef() {
6
- console.log("process.env.API_AUTH_KEY")
+ console.log("process",process.env.API_AUTH_KEY)
7
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() })
8
if (!admin.apps.length) {
9
admin.initializeApp({
0 commit comments