move userMonitorList out of server.js

This commit is contained in:
LouisLam 2021-09-08 16:27:37 +08:00
parent 230a9bfaf9
commit a7cf14c663
4 changed files with 9 additions and 8 deletions

View file

@ -4,6 +4,7 @@
const { TimeLogger } = require("../src/util");
const { R } = require("redbean-node");
const { io } = require("./server");
const { userMonitorList } = require("./user-monitor-list");
async function sendNotificationList(socket) {
const timeLogger = new TimeLogger();