mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-16 10:47:32 -05:00
Update uploads.js
This commit is contained in:
@@ -54,7 +54,7 @@ exports.upload = async function (req, res, next) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Extract and parse request data
|
// Extract and parse request data
|
||||||
await trace.getTracer('upload-service').startActiveSpan('parse_request_data', async (parseSpan) => {
|
|
||||||
|
|
||||||
var shortName = req.params.shortName.toLowerCase();
|
var shortName = req.params.shortName.toLowerCase();
|
||||||
var apiKey = req.body.api_key;
|
var apiKey = req.body.api_key;
|
||||||
@@ -88,7 +88,7 @@ exports.upload = async function (req, res, next) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
parseSpan.end();
|
parseSpan.end();
|
||||||
});
|
|
||||||
|
|
||||||
let item = null;
|
let item = null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user