0.12.0-1 Plugins und diverses

This commit is contained in:
2026-03-19 18:57:05 +00:00
parent 0a9cf6969f
commit 24955a956d
33 changed files with 3978 additions and 479 deletions
+4 -2
View File
@@ -30,12 +30,14 @@ router.post(
asyncHandler(async (req, res) => {
const jobId = Number(req.params.jobId);
const target = String(req.body?.target || 'raw').trim();
const outputPath = String(req.body?.outputPath || '').trim() || null;
logger.info('post:downloads:history', {
reqId: req.reqId,
jobId,
target
target,
outputPath
});
const result = await downloadService.enqueueHistoryJob(jobId, target);
const result = await downloadService.enqueueHistoryJob(jobId, target, { outputPath });
res.status(result.created ? 201 : 200).json({
...result,
summary: downloadService.getSummary()