เพิ่มแก้ไขโครงสร้าง

This commit is contained in:
kittapath 2024-09-06 09:41:47 +07:00
parent bee2b69f61
commit 98ebf587a3
16 changed files with 565 additions and 410 deletions

View file

@ -479,7 +479,7 @@ export class OrganizationUnauthorizeController extends Controller {
where: { orgRevisionIsCurrent: true, orgRevisionIsDraft: false },
});
if (!orgRevisionActive) {
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบโครงสร้างที่เผยแพรอยู่ตอนนี้");
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบโครงสร้างที่เผยแพรอยู่ตอนนี้");
}
const data = await this.orgRootRepository.find({