deemixer/server/dist/routes/api/post/removeFinishedDownloads.js
2021-06-05 13:58:50 +02:00

11 lines
330 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const main_1 = require("../../../main");
const path = '/removeFinishedDownloads';
const handler = (_, res) => {
main_1.clearCompletedDownloads();
res.send({ result: true });
};
const apiHandler = { path, handler };
exports.default = apiHandler;