recheck เมนู ข้าราชการ กทม. สามัญ (list to get)

This commit is contained in:
AdisakKanthawilang 2024-08-29 09:34:13 +07:00
parent 7430c3c86f
commit 271e6964b3
17 changed files with 24 additions and 24 deletions

View file

@ -87,7 +87,7 @@ export class ProfileOtherController extends Controller {
public async otherHistory(@Path() otherId: string, @Request() req: RequestWithUser) {
const _record = await this.otherRepository.findOneBy({ id: otherId });
if (_record) {
await new permission().PermissionOrgUserList(req, "SYS_REGISTRY_OFFICER", _record.profileId);
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", _record.profileId);
}
const record = await this.otherHistoryRepository.find({
where: { profileOtherId: otherId },