From 87161bef358a84d7cfdb31d294cd837263e6bb52 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 11 Feb 2023 23:49:41 -0500 Subject: [PATCH] disable department pager interval --- src/intervals/departmentPager.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intervals/departmentPager.ts b/src/intervals/departmentPager.ts index a72642e..0095568 100644 --- a/src/intervals/departmentPager.ts +++ b/src/intervals/departmentPager.ts @@ -5,7 +5,8 @@ import { Client } from '../class'; let interval: NodeJS.Timeout; -async function setupDepartmentCodes(client: Client): Promise { +async function setupDepartmentCodes(client: Client) { + return false; const directorPagers = await client.db.mongo.PagerNumber.findOne({ num: '00' }).lean().exec(); const supervisorPagers = await client.db.mongo.PagerNumber.findOne({ num: '01' }).lean().exec(); const technicianPagers = await client.db.mongo.PagerNumber.findOne({ num: '10' }).lean().exec();