แก้ SLR_018 , ลบ return id
This commit is contained in:
parent
1be7261ba0
commit
5f222498cb
6 changed files with 21 additions and 16 deletions
|
|
@ -53,7 +53,7 @@ export class ReportController extends Controller {
|
|||
where: { id: id }
|
||||
});
|
||||
if (!salarys) {
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลไอดี: " + id);
|
||||
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลไอดี");
|
||||
}
|
||||
const posType = await this.poTypeRepository.findOne({
|
||||
where: { id: salarys.posTypeId },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue