fix(new): refs #6150 revert chabges in worker new method
gitea/salix/pipeline/head Build queued... Details

This commit is contained in:
Pablo Natek 2023-11-06 14:56:48 +01:00
parent 72c8e76a2f
commit 1c6618d494
1 changed files with 1 additions and 2 deletions

View File

@ -119,8 +119,7 @@ module.exports = Self => {
Self.new = async(ctx, options) => {
const models = Self.app.models;
const {userId} = ctx.req.accessToken;
const myOptions = {userId};
const myOptions = {userId: ctx.req.accessToken.userId};
const args = ctx.args;
let tx;