a few bugs

This commit is contained in:
Luke Berndt
2023-04-12 08:32:35 -04:00
parent 590123eb34
commit 009f3da85f
2 changed files with 12 additions and 1 deletions

View File

@@ -105,7 +105,7 @@ async function build_filter(filter_type, code, start_time, direction, shortName,
const group = await Group.findOne({ 'shortName': shortName, '_id': ObjectId.createFromHexString(code) }).exec();
if (!group) {
console.warn("[" + shortName + "] Error - build_filter() group is null " + err);
console.warn("[" + shortName + "] Error - build_filter() group is null ");
res.contentType('json');
res.status(404);
res.send(JSON.stringify({