fix role ทะเบียนประวัติ

This commit is contained in:
AdisakKanthawilang 2024-09-05 11:57:38 +07:00
parent ccd544b8d5
commit 17818f0064
2 changed files with 31 additions and 2 deletions

View file

@ -1382,8 +1382,9 @@ export class OrganizationController extends Controller {
async Edit(
@Path() id: string,
@Body() requestBody: { orgPublishDate: Date },
@Request() request: { user: Record<string, any> },
@Request() request: RequestWithUser,
) {
// await new permission().PermissionUpdate(request, "SYS_ORG");//ไม่แน่ใจOFFปิดไว้ก่อน
const orgRevision = await this.orgRevisionRepository.findOne({
where: {
id: id,