Browse Source
Task/remove unused fetchExchangeRateForDate() method (#8265)
Clean up
pull/8258/head
Thomas Kaul
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
13 deletions
-
libs/ui/src/lib/services/data.service.ts
|
|
|
@ -40,7 +40,6 @@ import { |
|
|
|
CreateActivityResponse, |
|
|
|
CreateStripeCheckoutSessionResponse, |
|
|
|
DataProviderHealthResponse, |
|
|
|
DataProviderHistoricalResponse, |
|
|
|
ExportResponse, |
|
|
|
Filter, |
|
|
|
ImportResponse, |
|
|
|
@ -309,18 +308,6 @@ export class DataService { |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
public fetchExchangeRateForDate({ |
|
|
|
date, |
|
|
|
symbol |
|
|
|
}: { |
|
|
|
date: Date; |
|
|
|
symbol: string; |
|
|
|
}) { |
|
|
|
return this.http.get<DataProviderHistoricalResponse>( |
|
|
|
`/api/v1/exchange-rate/${encodeURIComponent(symbol)}/${format(date, DATE_FORMAT, { in: utc })}` |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
public deleteAccess(aId: string) { |
|
|
|
return this.http.delete<void>(`/api/v1/access/${aId}`); |
|
|
|
} |
|
|
|
|