mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-16 18:57:47 -05:00
context fix
This commit is contained in:
@@ -116,15 +116,6 @@ exports.upload = async function (req, res, next) {
|
|||||||
span.end();
|
span.end();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
span.end();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Parse the request and validate the data
|
|
||||||
context.with(ctx, () => {
|
|
||||||
tracer.startActiveSpan('validate-fields', async (span) => {
|
|
||||||
|
|
||||||
// Blocking sensitive talkgroups
|
// Blocking sensitive talkgroups
|
||||||
if ((shortName == "hennearmer") && ((talkgroupNum == 3421) || (talkgroupNum == 3423))) {
|
if ((shortName == "hennearmer") && ((talkgroupNum == 3421) || (talkgroupNum == 3423))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user