Browse Source

Registered developed-markets rule in User service

pull/3975/head
Ivan Skvortsov 10 months ago
parent
commit
1743b5e83e
  1. 7
      apps/api/src/app/user/user.service.ts

7
apps/api/src/app/user/user.service.ts

@ -4,6 +4,7 @@ import { environment } from '@ghostfolio/api/environments/environment';
import { PortfolioChangedEvent } from '@ghostfolio/api/events/portfolio-changed.event';
import { AccountClusterRiskCurrentInvestment } from '@ghostfolio/api/models/rules/account-cluster-risk/current-investment';
import { AccountClusterRiskSingleAccount } from '@ghostfolio/api/models/rules/account-cluster-risk/single-account';
import { AllocationClusterRiskDevelopedMarkets } from '@ghostfolio/api/models/rules/allocation-cluster-risk/developed-markets';
import { AllocationClusterRiskEmergingMarkets } from '@ghostfolio/api/models/rules/allocation-cluster-risk/emerging-markets';
import { CurrencyClusterRiskBaseCurrencyCurrentInvestment } from '@ghostfolio/api/models/rules/currency-cluster-risk/base-currency-current-investment';
import { CurrencyClusterRiskCurrentInvestment } from '@ghostfolio/api/models/rules/currency-cluster-risk/current-investment';
@ -216,6 +217,12 @@ export class UserService {
undefined,
{}
).getSettings(user.Settings.settings),
AllocationClusterRiskDevelopedMarkets:
new AllocationClusterRiskDevelopedMarkets(
undefined,
undefined,
undefined
).getSettings(user.Settings.settings),
AllocationClusterRiskEmergingMarkets:
new AllocationClusterRiskEmergingMarkets(
undefined,

Loading…
Cancel
Save