fix code
This commit is contained in:
parent
2bb68463be
commit
5e2e13d8e8
9 changed files with 12 additions and 13 deletions
|
|
@ -51,7 +51,7 @@ export class OrgRootController extends Controller {
|
|||
async GetRoot(@Path() id: string) {
|
||||
const orgRoot = await this.orgRootRepository.findOne({ where: { id } });
|
||||
if (!orgRoot) {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล โครงสร้างระดับ Root");
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลโครงสร้างระดับ Root นี้");
|
||||
}
|
||||
const getOrgRoot = {
|
||||
orgRootId: orgRoot.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue