From 86d0d37fd5904026da1ed063d5b3d448eea4c7f8 Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Fri, 10 Jun 2022 14:15:25 +0100 Subject: [PATCH] Fix for privatekey newline --- packages/server/src/integrations/firebase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/integrations/firebase.ts b/packages/server/src/integrations/firebase.ts index 2e539f876a..e95bda8d46 100644 --- a/packages/server/src/integrations/firebase.ts +++ b/packages/server/src/integrations/firebase.ts @@ -95,7 +95,7 @@ module Firebase { projectId: config.projectId, credentials: { client_email: config.email, - private_key: config.privateKey, + private_key: config.privateKey?.replace(/\\n/g, "\n"), }, }) }