Merge pull request 'HOTFIX: before save checkAccessAcl' (!3426) from hotfix_client_beforeSave_ACL into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #3426 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
f851a0b73b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue