ws test
This commit is contained in:
parent
9352c42184
commit
e976e51860
1 changed files with 2 additions and 0 deletions
|
|
@ -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, "ไม่พบข้อมูล");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue