fix: permission
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s
This commit is contained in:
parent
c2eaa5fba8
commit
df38eebbcc
1 changed files with 1 additions and 1 deletions
|
|
@ -623,7 +623,7 @@ export class CustomerBranchFileController extends Controller {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
if (!data) throw notFoundError("Customer Branch");
|
if (!data) throw notFoundError("Customer Branch");
|
||||||
await permissionCheck(user, data.customer.registeredBranch);
|
await permissionCheckCompany(user, data.customer.registeredBranch);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Get("attachment")
|
@Get("attachment")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue