Base solution for your next web application
Open Closed

Cannot read property 'currency' of undefined #9633

zyrel.sermon created


After upgrading to 9.1 we encounter this issue upon start of the application

Cannot read property 'currency' of undefined

upon checking the code

export function getCurrencyCode(injector: Injector): string {
    let appSessionService: AppSessionService = injector.get(AppSessionService);
    return appSessionService.application.currency;

the appSessionService.application returns undefined

are we missing an import? Please advise, thanks

1 Answer(s)
  • 0
    ismcagdas created
    Support Team


    Could you share the response of GetCurrentLoginInformations call ?