diff --git a/src/controllers/StrategyController.ts b/src/controllers/StrategyController.ts index bd29960..1f5b4c0 100644 --- a/src/controllers/StrategyController.ts +++ b/src/controllers/StrategyController.ts @@ -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;