This commit is contained in:
AdisakKanthawilang 2025-05-02 15:14:49 +07:00
parent 65899d936a
commit 374bec32e4

View file

@ -254,6 +254,7 @@ export class StrategyController extends Controller {
switch (body.levelnode) {
case 0:
const ckOrder = await this.strategy1Repo.findOne({
where: {},
order: { order: "DESC" },
});
strategyRepo = this.strategy1Repo;