Skip to content

Commit 916bb87

Browse files
committed
feat: new entities
1 parent 540d875 commit 916bb87

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎backend/src/main/java/ch/xxx/trader/usecase/services/CoinbaseService.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ public List<QuoteCbSmall> nintyDaysQuotesBc() {
130130
return getQuoteDayCbSmalls(TimeFrame.NINTYDAYS);
131131
}
132132

133-
private @NonNull List<QuoteCbSmall> getQuoteDayCbSmalls(TimeFrame nintydays) {
133+
private @NonNull List<QuoteCbSmall> getQuoteDayCbSmalls(TimeFrame timeFrame) {
134134
return this.quoteDayCbRepository
135-
.findByCreatedAtAfterOrderByCreatedAtAsc(MongoUtils.buildStartDate(nintydays), Limit.of(1000))
135+
.findByCreatedAtAfterOrderByCreatedAtAsc(MongoUtils.buildStartDate(timeFrame), Limit.of(1000))
136136
.stream()
137137
.map(quote -> new QuoteCbSmall(quote.getCreatedAt(), quote.getUsd(), quote.getEur(), quote.getEth(),
138138
quote.getLtc()))

0 commit comments

Comments
 (0)