This commit is contained in:
Luke Berndt
2023-04-10 15:56:54 -04:00
parent 4de89c9ac2
commit 0062c404bf

View File

@@ -269,8 +269,9 @@ io.sockets.on('connection', function (client) {
delete clients[client.id];
return;
}
let group;
try {
const group = await groupCollection.findOne({
group = await groupCollection.findOne({
'shortName': data.shortName.toLowerCase(),
'_id': ObjectId.createFromHexString(data.filterCode)
});