fix: refs #7028 requesterId fix
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-12-16 11:55:01 +01:00
parent 1090a78e10
commit 576641d09d
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module.exports = Self => {
try {
const userId = ctx.req.accessToken.userId;
const worker = await models.Worker.findById(userId, myOptions);
const worker = await models.Worker.findById(userId, {fields: ['id']}, myOptions);
const params = {
isOk: false,