From 1743b5e83e9ad54af9dca969ab9e4c5c61e15228 Mon Sep 17 00:00:00 2001 From: Ivan Skvortsov Date: Wed, 23 Oct 2024 15:22:32 +0200 Subject: [PATCH] Registered developed-markets rule in User service --- apps/api/src/app/user/user.service.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/api/src/app/user/user.service.ts b/apps/api/src/app/user/user.service.ts index f4f0dad33..d0b7ab983 100644 --- a/apps/api/src/app/user/user.service.ts +++ b/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,