From 657fece65b17392fd3ce9553129e6f0b12f17fbe Mon Sep 17 00:00:00 2001 From: bandinopla <71508858+bandinopla@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:26:59 +0000 Subject: [PATCH] omg.... --- server/db/resolvers/session-login-firebase.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/db/resolvers/session-login-firebase.js b/server/db/resolvers/session-login-firebase.js index d424a85..7acb8b0 100644 --- a/server/db/resolvers/session-login-firebase.js +++ b/server/db/resolvers/session-login-firebase.js @@ -1,4 +1,4 @@ -//import { initializeApp, cert } from 'firebase-admin/app'; +import { initializeApp, cert } from 'firebase-admin/app'; import { getAuth } from "firebase-admin/auth"; import { query } from "../connection.js"; import { packAsToken } from "../../utils/token.js"; @@ -7,15 +7,15 @@ import { sendWelcomeMessage } from "./inbox.js"; import md5 from 'md5'; -//import key from "../../firebase-adminsdk-credential.js"; +import key from "../../firebase-adminsdk-credential.js"; import { getInvalidUsernameError } from '../../utils/getInvalidUsernameError.js'; -// const APP = initializeApp({ -// credential: cert(key) -// }); +const APP = initializeApp({ + credential: cert(key) +});