fix
This commit is contained in:
parent
422510dbe3
commit
eb41d529c7
1 changed files with 3 additions and 3 deletions
|
|
@ -64,9 +64,9 @@ export class StrategyController extends Controller {
|
|||
order: { createdAt: "ASC" },
|
||||
});
|
||||
|
||||
if (!listStrategyChild1 || listStrategyChild1.length === 0) {
|
||||
throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลยุทธศาสตร์");
|
||||
}
|
||||
// if (!listStrategyChild1 || listStrategyChild1.length === 0) {
|
||||
// throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลยุทธศาสตร์");
|
||||
// }
|
||||
|
||||
const formattedData = listStrategyChild1.map((item) => ({
|
||||
id: item.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue