Base solution for your next web application
Open Closed

Cannot read property 'currency' of undefined #9633


0
zyrel.sermon created

Hi

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

    Hi,

    Could you share the response of GetCurrentLoginInformations call ?