disable department pager interval
parent
632c6197c8
commit
87161bef35
|
@ -5,7 +5,8 @@ import { Client } from '../class';
|
||||||
|
|
||||||
let interval: NodeJS.Timeout;
|
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 directorPagers = await client.db.mongo.PagerNumber.findOne({ num: '00' }).lean().exec();
|
||||||
const supervisorPagers = await client.db.mongo.PagerNumber.findOne({ num: '01' }).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();
|
const technicianPagers = await client.db.mongo.PagerNumber.findOne({ num: '10' }).lean().exec();
|
||||||
|
|
Loading…
Reference in New Issue