fix(new): refs #6150 revert chabges in worker new method
gitea/salix/pipeline/head Build queued...
Details
gitea/salix/pipeline/head Build queued...
Details
This commit is contained in:
parent
72c8e76a2f
commit
1c6618d494
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue