Actualizar robot_cobros.js
This commit is contained in:
parent
bdf29aee91
commit
60e26315de
|
|
@ -4,6 +4,7 @@ const admin = require('firebase-admin');
|
||||||
const cors = require('cors');
|
const cors = require('cors');
|
||||||
|
|
||||||
// --- CONFIGURACIÓN FIREBASE ---
|
// --- CONFIGURACIÓN FIREBASE ---
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (process.env.FIREBASE_PRIVATE_KEY) {
|
if (process.env.FIREBASE_PRIVATE_KEY) {
|
||||||
if (!admin.apps.length) {
|
if (!admin.apps.length) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue