Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Cannot read property 'currency' of undefined #9633


User avatar
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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Could you share the response of GetCurrentLoginInformations call ?