merge
This commit is contained in:
@@ -5,8 +5,10 @@ const admin = require("firebase-admin");
|
||||
admin.initializeApp();
|
||||
|
||||
const db = admin.firestore();
|
||||
const REGION = process.env.FIREBASE_REGION || "europe-west1";
|
||||
|
||||
exports.db = db;
|
||||
exports.REGION = REGION;
|
||||
|
||||
exports.refList = {
|
||||
projects: db.collection("projects"),
|
||||
@@ -21,6 +23,7 @@ exports.refList = {
|
||||
monthlyPayoutEntries: db.collection("monthlyPayoutEntries"),
|
||||
monthlyPayouts: db.collection("monthlyPayouts"),
|
||||
};
|
||||
exports.refsList = exports.refList;
|
||||
|
||||
exports.ALERT_TYPE = {
|
||||
NEW_LIKE: "NEW_LIKE",
|
||||
@@ -45,4 +48,5 @@ exports.algolia = require("./src/algolia");
|
||||
exports.notifications = require("./src/notifications");
|
||||
exports.rankings = require("./src/rankings");
|
||||
exports.payouts = require("./src/payouts");
|
||||
exports.subscription = require("./src/subscription");
|
||||
exports.youtube = require("./src/youtube");
|
||||
|
||||
Reference in New Issue
Block a user