fix delete api web service
This commit is contained in:
parent
e0de2ed251
commit
803845d568
1 changed files with 1 additions and 1 deletions
|
|
@ -596,8 +596,8 @@ export class ApiManageController extends Controller {
|
|||
throw new HttpError(HttpStatusCode.FORBIDDEN, "คุณไม่มีสิทธิ์ในการเข้าถึงข้อมูลนี้");
|
||||
}
|
||||
|
||||
await queryRunner.manager.getRepository(ApiName).delete({ id });
|
||||
await queryRunner.manager.getRepository(ApiAttribute).delete({ apiNameId: id });
|
||||
await queryRunner.manager.getRepository(ApiName).delete({ id });
|
||||
|
||||
await queryRunner.commitTransaction();
|
||||
return new HttpSuccess();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue