From 2594872acf117c552d017c1161108546661edd7a Mon Sep 17 00:00:00 2001 From: Luke Berndt Date: Sun, 4 Feb 2024 21:41:00 -0500 Subject: [PATCH] context fix --- backend/controllers/uploads.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/backend/controllers/uploads.js b/backend/controllers/uploads.js index dc71694..1b63517 100644 --- a/backend/controllers/uploads.js +++ b/backend/controllers/uploads.js @@ -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))) {