mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-15 02:07:50 -05:00
last try
This commit is contained in:
@@ -269,8 +269,9 @@ io.sockets.on('connection', function (client) {
|
|||||||
delete clients[client.id];
|
delete clients[client.id];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
let group;
|
||||||
try {
|
try {
|
||||||
const group = await groupCollection.findOne({
|
group = await groupCollection.findOne({
|
||||||
'shortName': data.shortName.toLowerCase(),
|
'shortName': data.shortName.toLowerCase(),
|
||||||
'_id': ObjectId.createFromHexString(data.filterCode)
|
'_id': ObjectId.createFromHexString(data.filterCode)
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user