fix keyclock function

This commit is contained in:
AdisakKanthawilang 2024-08-23 18:01:04 +07:00
parent cb0a3e2f38
commit 2648c5b5fa
3 changed files with 15 additions and 8 deletions

View file

@ -4735,7 +4735,6 @@ export class ProfileController extends Controller {
if (!profile) {
throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลบุคคลนี้ในระบบ");
}
await new permission().PermissionOrgUserList(request, "SYS_REGISTRY_OFFICER", profile.id);
const posMaster = await this.posMasterRepo.findOne({
where: {