diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 7dd3109d..37688a0e 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -416,7 +416,7 @@ export class CommandController extends Controller { throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลผู้ได้รับคำสั่ง"); } const commandId = commandRecive.commandId; - // await this.commandReciveRepository.delete(commandRecive.id); + await this.commandReciveRepository.delete(commandRecive.id); const commandReciveList = await this.commandReciveRepository.find({ where: {