Fix for privatekey newline

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

View File

@ -95,7 +95,7 @@ module Firebase {
projectId: config.projectId, projectId: config.projectId,
credentials: { credentials: {
client_email: config.email, client_email: config.email,
private_key: config.privateKey, private_key: config.privateKey?.replace(/\\n/g, "\n"),
}, },
}) })
} }