From af15cd6961ef2cf8d6f2a963eee816de645f7f75 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 26 Aug 2025 11:58:53 +0200 Subject: [PATCH] Refactoring --- apps/api/src/app/endpoints/watchlist/watchlist.service.ts | 4 ++-- .../lib/interfaces/responses/watchlist-response.interface.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/api/src/app/endpoints/watchlist/watchlist.service.ts b/apps/api/src/app/endpoints/watchlist/watchlist.service.ts index c635ddd87..666023dbf 100644 --- a/apps/api/src/app/endpoints/watchlist/watchlist.service.ts +++ b/apps/api/src/app/endpoints/watchlist/watchlist.service.ts @@ -142,8 +142,8 @@ export class WatchlistService { date: allTimeHigh?.date } }, - trend200d: trends.trend200d, - trend50d: trends.trend50d + trend50d: trends.trend50d, + trend200d: trends.trend200d }; }) ); diff --git a/libs/common/src/lib/interfaces/responses/watchlist-response.interface.ts b/libs/common/src/lib/interfaces/responses/watchlist-response.interface.ts index 1c45d1e6f..21570a459 100644 --- a/libs/common/src/lib/interfaces/responses/watchlist-response.interface.ts +++ b/libs/common/src/lib/interfaces/responses/watchlist-response.interface.ts @@ -8,7 +8,7 @@ export interface WatchlistResponse { marketCondition: Benchmark['marketCondition']; name: string; performances: Benchmark['performances']; - trend200d: Benchmark['trend200d']; trend50d: Benchmark['trend50d']; + trend200d: Benchmark['trend200d']; })[]; }