Merge pull request 'HOTFIX: before save checkAccessAcl' (!3426) from hotfix_client_beforeSave_ACL into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #3426
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Carlos Andrés 2025-02-07 10:18:43 +00:00
commit f851a0b73b
1 changed files with 2 additions and 1 deletions

View File

@ -248,7 +248,8 @@ module.exports = Self => {
const models = Self.app.models;
const loopBackContext = LoopBackContext.getCurrentContext();
const accessToken = {req: loopBackContext.active.accessToken};
const accessToken = {req: {accessToken: loopBackContext.active.accessToken}};
const editVerifiedDataWithoutTaxDataChecked = await models.ACL.checkAccessAcl(
accessToken,