From c7ae96d119b3e8db5033a7742267197345d67391 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Mon, 25 Nov 2024 14:41:47 +0700 Subject: [PATCH] fix: missing return --- src/controllers/00-employment-office-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/00-employment-office-controller.ts b/src/controllers/00-employment-office-controller.ts index 34db251..e7efc24 100644 --- a/src/controllers/00-employment-office-controller.ts +++ b/src/controllers/00-employment-office-controller.ts @@ -8,7 +8,7 @@ import { notFoundError } from "../utils/error"; export class EmploymentOfficeController extends Controller { @Get() async getEmploymentOfficeList(@Query() districtId?: string, @Query() query: string = "") { - this.getEmploymentOfficeListByCriteria(districtId, query); + return this.getEmploymentOfficeListByCriteria(districtId, query); } @Post("list")