diff --git a/packages/core/src/service/helpers/request-context/request-context.service.ts b/packages/core/src/service/helpers/request-context/request-context.service.ts index c2bfd0d45c..4e6aa0b6de 100644 --- a/packages/core/src/service/helpers/request-context/request-context.service.ts +++ b/packages/core/src/service/helpers/request-context/request-context.service.ts @@ -39,10 +39,11 @@ export class RequestContextService { apiType: ApiType; channelOrToken?: Channel | string; languageCode?: LanguageCode; + currencyCode?: CurrencyCode; user?: User; activeOrderId?: ID; }): Promise { - const { req, apiType, channelOrToken, languageCode, user, activeOrderId } = config; + const { req, apiType, channelOrToken, languageCode, currencyCode, user, activeOrderId } = config; let channel: Channel; if (channelOrToken instanceof Channel) { channel = channelOrToken; @@ -73,6 +74,7 @@ export class RequestContextService { apiType, channel, languageCode, + currencyCode, session, isAuthorized: true, authorizedAsOwnerOnly: false,