From 50ca7cc845009504740bbcc4b6b1107ff4eb9843 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Tue, 30 Jul 2024 14:45:33 +0200 Subject: [PATCH] Fix passing user info to batch jobs --- src/api/jobs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/jobs.js b/src/api/jobs.js index 28ac637..3d43273 100644 --- a/src/api/jobs.js +++ b/src/api/jobs.js @@ -135,7 +135,7 @@ export default class JobsAPI { res.send(202); - await runBatchJob(this.context, this.storage, this.user, query); + await runBatchJob(this.context, this.storage, req.user, query); } async getJobResultsByToken(req, res) {