This commit is contained in:
Quan HL
2023-04-02 17:09:43 +07:00
parent 5e15a622de
commit 8f0b086b91
+3 -3
View File
@@ -108,7 +108,7 @@ class Regbot {
}
}
module.exports = async (logger, srf) => {
module.exports = async(logger, srf) => {
if (initialized) return;
initialized = true;
const { addKeyNx } = srf.locals.realtimeDbHelpers;
@@ -147,7 +147,7 @@ module.exports = async (logger, srf) => {
return srf.locals.regbot.active;
};
const checkStatus = async (logger, srf) => {
const checkStatus = async(logger, srf) => {
const { addKeyNx, addKey, retrieveKey } = srf.locals.realtimeDbHelpers;
const { myToken, active } = srf.locals.regbot;
@@ -206,7 +206,7 @@ const checkStatus = async (logger, srf) => {
}
};
const updateCarrierRegbots = async (logger, srf) => {
const updateCarrierRegbots = async(logger, srf) => {
// Check if We are
const { lookupAllVoipCarriers, lookupSipGatewaysByCarrier } = srf.locals.dbHelpers;
try {