From 76dc24f06f26d83e822537d7ad5140815424b935 Mon Sep 17 00:00:00 2001 From: Thomas Guillet Date: Mon, 18 Nov 2024 11:01:20 +0100 Subject: [PATCH] Corrige projectId pour firebase --- supabase/functions/_shared/messaging.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supabase/functions/_shared/messaging.ts b/supabase/functions/_shared/messaging.ts index 77833b2..f4a6d8f 100644 --- a/supabase/functions/_shared/messaging.ts +++ b/supabase/functions/_shared/messaging.ts @@ -3,7 +3,7 @@ import { getMessaging, AndroidConfig } from "npm:firebase-admin/messaging"; const app = initializeApp({ credential: cert({ - project_id: Deno.env.get("GOOGLE_APPLICATION_PROJECT_ID"), + projectId: Deno.env.get("GOOGLE_APPLICATION_PROJECT_ID"), clientEmail: Deno.env.get("GOOGLE_APPLICATION_CLIENT_EMAIL"), privateKey: Deno.env.get("GOOGLE_APPLICATION_PRIVATE_KEY"), }),