Fix for privatekey newline

This commit is contained in:
Mel O'Hagan 2022-06-10 14:15:25 +01:00
parent dc28d685a8
commit 1155b9acdf
1 changed files with 1 additions and 1 deletions

View File

@ -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"),
},
})
}