diff --git a/server/data/arms.js b/server/data/arms.js index 8c73e035e..ec5f337f8 100644 --- a/server/data/arms.js +++ b/server/data/arms.js @@ -42,14 +42,16 @@ function pollFunc(fn, timeout, interval) { pollFunc(getEntegralShopData, 0, 5 * 60 * 1000); //Set the metadata to refresh every 5 minutes. async function getEntegralShopData() { - await storage.init({ logging: true }); - const { bodyshops } = await client.request(queries.GET_ENTEGRAL_SHOPS); - logger.log("set-entegral-shops-local-storage", "DEBUG", "API", null, null); - await storage.setItem("entegralShops", bodyshops); - return true; //Continue execution. + // await storage.init({ logging: true }); + // const { bodyshops } = await client.request(queries.GET_ENTEGRAL_SHOPS); + // logger.log("set-entegral-shops-local-storage", "DEBUG", "API", null, null); + // await storage.setItem("entegralShops", bodyshops); + // return true; //Continue execution. } exports.default = async (req, res) => { + res.sendStatus(200); + return; //Query for the List of Bodyshop Clients. const job = req.body.event.data.new; logger.log("arms-job-update", "DEBUG", "api", job.id, null);