Browse Source

chore: fix formatting

pull/2575/head
Dhoni77 2 years ago
committed by Thomas
parent
commit
45a32e08e7
  1. 6
      apps/api/src/app/benchmark/benchmark.service.ts

6
apps/api/src/app/benchmark/benchmark.service.ts

@ -11,7 +11,7 @@ import {
} from '@ghostfolio/common/config';
import {
DATE_FORMAT,
calculateBenchmarkTrend,
calculateBenchmarkTrend
} from '@ghostfolio/common/helper';
import {
BenchmarkMarketDataDetails,
@ -39,7 +39,7 @@ export class BenchmarkService {
private readonly redisCacheService: RedisCacheService,
private readonly symbolProfileService: SymbolProfileService,
private readonly symbolService: SymbolService
) { }
) {}
public calculateChangeInPercentage(baseValue: number, currentValue: number) {
if (baseValue && currentValue) {
@ -88,7 +88,7 @@ export class BenchmarkService {
if (benchmarks) {
return benchmarks;
}
} catch { }
} catch {}
}
const benchmarkAssetProfiles = await this.getBenchmarkAssetProfiles();

Loading…
Cancel
Save