Browse Source

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

Clean up
pull/8258/head
Thomas Kaul 3 days ago
committed by GitHub
parent
commit
edc9806c28
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 13
      libs/ui/src/lib/services/data.service.ts

13
libs/ui/src/lib/services/data.service.ts

@ -40,7 +40,6 @@ import {
CreateActivityResponse, CreateActivityResponse,
CreateStripeCheckoutSessionResponse, CreateStripeCheckoutSessionResponse,
DataProviderHealthResponse, DataProviderHealthResponse,
DataProviderHistoricalResponse,
ExportResponse, ExportResponse,
Filter, Filter,
ImportResponse, 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) { public deleteAccess(aId: string) {
return this.http.delete<void>(`/api/v1/access/${aId}`); return this.http.delete<void>(`/api/v1/access/${aId}`);
} }

Loading…
Cancel
Save