Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Task/remove unused fetchExchangeRateForDate() method (#8265)

Thomas Kauledc9806c282d
diff --git a/libs/ui/src/lib/services/data.service.ts b/libs/ui/src/lib/services/data.service.ts
index ca10f91b52..6292f8770a 100644
--- a/libs/ui/src/lib/services/data.service.ts
+++ b/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}`);
}