You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { ExchangeRateDataService } from '@ghostfolio/api/services/exchange-rate-data/exchange-rate-data.service';
|
|
|
|
|
|
|
|
import { Controller } from '@nestjs/common';
|
|
|
|
|
|
|
|
@Controller()
|
|
|
|
export class AppController {
|
|
|
|
public constructor(
|
|
|
|
private readonly exchangeRateDataService: ExchangeRateDataService
|
|
|
|
) {
|
|
|
|
this.initialize();
|
|
|
|
}
|
|
|
|
|
|
|
|
private async initialize() {
|
|
|
|
try {
|
|
|
|
await this.exchangeRateDataService.initialize();
|
|
|
|
} catch {}
|
|
|
|
}
|
|
|
|
}
|