Removed Star notification

This commit is contained in:
Luke Berndt
2021-07-31 08:40:39 -04:00
parent fec4467e97
commit d9f89aa79a
2 changed files with 2 additions and 11 deletions

View File

@@ -235,14 +235,7 @@ exports.upsertGroup = function(req, res, next) {
var message = "";
var groupName = req.body.groupName.replace(/[^\w\s]/g, "");
var talkgroups = JSON.parse(req.body.talkgroups);
console.log(
"Talkgroups: " +
talkgroups +
" for group: " +
groupName +
" array: " +
Array.isArray(talkgroups)
);
if (!talkgroups.length || !Array.isArray(talkgroups)) {
message = "Talkgroups need to be selected, group can not be empty ";
}