diff --git a/src/app/services/init.service.ts b/src/app/services/init.service.ts index a2dfb507b7..0751dfc725 100755 --- a/src/app/services/init.service.ts +++ b/src/app/services/init.service.ts @@ -260,7 +260,7 @@ export class InitService { userPidProfile = await this.http .get(endpoint.profilePid) .pipe(map((res: any) => { - let roles = _.map(_.get(res, 'result.response.roles'), 'role') + const roles = _.map(_.get(res, 'result.response.roles'), 'role') _.set(res, 'result.response.roles', roles) return _.get(res, 'result.response') })).toPromise()