Fix for privatekey newline
This commit is contained in:
parent
dc28d685a8
commit
1155b9acdf
|
@ -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"),
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue