This commit is contained in:
Sofia Papacharalampous 2024-07-09 17:42:37 +03:00
parent 8b82baa099
commit d4c6401573
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ export class AuthService extends BaseService {
return this.ensureTenant(tenantCode ?? this.selectedTenant() ?? 'default');
}),
concatMap(response => {
if (response == 'default' && tenantCode != 'default') throw Error();
return this.principalService.me(httpParams);
}),
concatMap(response => {