Skip to content

Commit 50ca7cc

Browse files
committed
Fix passing user info to batch jobs
1 parent 7fcfd38 commit 50ca7cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/jobs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default class JobsAPI {
135135

136136
res.send(202);
137137

138-
await runBatchJob(this.context, this.storage, this.user, query);
138+
await runBatchJob(this.context, this.storage, req.user, query);
139139
}
140140

141141
async getJobResultsByToken(req, res) {

0 commit comments

Comments
 (0)