Browse Source

Refactoring

pull/5405/head
Thomas Kaul 2 months ago
parent
commit
af15cd6961
  1. 4
      apps/api/src/app/endpoints/watchlist/watchlist.service.ts
  2. 2
      libs/common/src/lib/interfaces/responses/watchlist-response.interface.ts

4
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
};
})
);

2
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'];
})[];
}

Loading…
Cancel
Save