mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
less debug
This commit is contained in:
@@ -101,13 +101,13 @@ process.nextTick(function() {
|
||||
|
||||
|
||||
if (item.ignoreUnknownTalkgroup == true) {
|
||||
console.log("ignore unknown talkgroup ");
|
||||
//console.log("ignore unknown talkgroup ");
|
||||
//await Talkgroup.findOne({ answer: 42 }).select({ _id: 1 }).lean().then(doc => !!doc)
|
||||
talkgroupExists = await Talkgroup.exists({
|
||||
'shortName': shortName,
|
||||
'num': talkgroupNum
|
||||
});
|
||||
console.log("In talkgroup: " + talkgroupExists);
|
||||
//console.log("In talkgroup: " + talkgroupExists);
|
||||
//talkgroupExists = await Talkgroup.findOne({ 'shortName': shortName, 'num': talkgroupNum }).select({ _id: 1 }).lean().then(doc => !!doc).exec();
|
||||
if (!talkgroupExists) {
|
||||
try {
|
||||
|
||||
@@ -143,7 +143,7 @@ async function getCalls(req, res, next) {
|
||||
var title = item.len + " second transmission"
|
||||
|
||||
if (tg) {
|
||||
console.log(tg)
|
||||
//console.log(tg)
|
||||
title = tg.description;
|
||||
}
|
||||
const callId = req.query["call-id"];
|
||||
|
||||
Reference in New Issue
Block a user