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