@ccci/micro-server 1.0.113 → 1.0.114
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -250953,12 +250953,9 @@ class PushNotifier {
|
|
|
250953
250953
|
PushNotifier.rootDir = path4;
|
|
250954
250954
|
const configPath = `${PushNotifier.rootDir}/notif.config.ts`;
|
|
250955
250955
|
if (!PushNotifier.instance) {
|
|
250956
|
-
console.log("configPath :>> ", configPath);
|
|
250957
250956
|
import(configPath).then((FirebaseServiceAccount) => {
|
|
250958
|
-
console.log("FirebaseServiceAccount :>> ", FirebaseServiceAccount);
|
|
250959
|
-
console.log("FirebaseServiceAccount :>> ", FirebaseServiceAccount.default);
|
|
250960
250957
|
PushNotifier.FirebaseAdmin.initializeApp({
|
|
250961
|
-
credential: import_firebase_admin.default.credential.cert(FirebaseServiceAccount)
|
|
250958
|
+
credential: import_firebase_admin.default.credential.cert(FirebaseServiceAccount.default)
|
|
250962
250959
|
});
|
|
250963
250960
|
PushNotifier.instance = PushNotifier.FirebaseAdmin.app.length;
|
|
250964
250961
|
});
|