test comment all privilage validate
This commit is contained in:
parent
44038e5497
commit
db56c8a533
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ export class ProfileAvatarController extends Controller {
|
|||
try {
|
||||
// let _workflow = await new permission().Workflow(req, id, "SYS_REGISTRY_OFFICER");
|
||||
// if (_workflow == false)
|
||||
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", id);
|
||||
// await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", id);
|
||||
const profile = await this.profileRepository.findOne({
|
||||
where: { id },
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue