+
+async function runCommand (req: express.Request, res: express.Response) {
+ const body: SendDebugCommand = req.body
+
+ if (body.command === 'remove-dandling-resumable-uploads') {
+ await RemoveDanglingResumableUploadsScheduler.Instance.execute()
+ }
+
+ return res.sendStatus(204)
+}