diff --git a/lib/sip-trunk-register.js b/lib/sip-trunk-register.js index f24153c..59b488e 100644 --- a/lib/sip-trunk-register.js +++ b/lib/sip-trunk-register.js @@ -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 {