diff --git a/src/controllers/OrganizationController.ts b/src/controllers/OrganizationController.ts index 1b4bf1c6..6b684cea 100644 --- a/src/controllers/OrganizationController.ts +++ b/src/controllers/OrganizationController.ts @@ -3100,6 +3100,8 @@ export class OrganizationController extends Controller { }; const orgRevision = await this.orgRevisionRepository.findOne({ where: { id } }); + console.log('orgRevision:',orgRevision); + if (!orgRevision) { throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล"); }