From 8b1298f490184ce0704d68682173f81ab4bcb5e8 Mon Sep 17 00:00:00 2001 From: matheusgnreis Date: Mon, 15 Jan 2024 17:19:28 -0300 Subject: [PATCH] chore: remove pubsub --- functions/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/index.js b/functions/index.js index 03d582f..e6701a9 100644 --- a/functions/index.js +++ b/functions/index.js @@ -147,10 +147,10 @@ exports.updateTokens = functions.pubsub.schedule(cron).onRun(() => { console.log(`-- Sheduled update E-Com Plus tokens '${cron}'`) // update token job bling -const createAccess = require('./lib/bling-auth/create-access') +/* const createAccess = require('./lib/bling-auth/create-access') const queueCreateAccess = 'every 9 mins' exports.scheduledSyncBlingToken = functions.pubsub.schedule(queueCreateAccess).onRun(createAccess) -console.log(`-- Sheduled active access from bling '${queueCreateAccess}'`) +console.log(`-- Sheduled active access from bling '${queueCreateAccess}'`) */ // schedule active check queues from Store API const checkIdleQueues = require('./lib/integration/check-idle-queues')