#6274 workerTimeControl #1858
|
@ -46,6 +46,6 @@ module.exports = Self => {
|
||||||
if (!isSubordinate || (isHimself && !isTeamBoss))
|
if (!isSubordinate || (isHimself && !isTeamBoss))
|
||||||
throw new UserError(`You don't have enough privileges`);
|
throw new UserError(`You don't have enough privileges`);
|
||||||
|
|
||||||
return await Self.clockIn(workerId, args.timed, args.direction, myOptions);
|
return Self.clockIn(workerId, args.timed, args.direction, myOptions);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue