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