disable department pager interval

ctx
Matthew 2023-02-11 23:49:41 -05:00
parent 632c6197c8
commit 87161bef35
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@ import { Client } from '../class';
let interval: NodeJS.Timeout;
async function setupDepartmentCodes(client: Client): Promise<void> {
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();