test fixed

This commit is contained in:
Gerard 2019-01-23 11:17:18 +01:00
parent 9ebd7a2922
commit 05ed72661e
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ module.exports = Self => {
teamIds = [worker && worker.id];
}
if (ctx.args && ctx.args.mine || ctx.args.myTeam)
if (ctx.args && (ctx.args.mine || ctx.args.myTeam))
ctx.args.teamIds = teamIds;