From 374bec32e486c611be4b9f9488d744a0b3d412a1 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Fri, 2 May 2025 15:14:49 +0700 Subject: [PATCH] fix --- src/controllers/StrategyController.ts | 1 + 1 file changed, 1 insertion(+) 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;