revert: revert
This commit is contained in:
		
					parent
					
						
							
								aef0f09d09
							
						
					
				
			
			
				commit
				
					
						aa6ec4397f
					
				
			
		
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -21,11 +21,10 @@ export class UserService { | |||
|     }); | ||||
|   } | ||||
| 
 | ||||
|   public async getOrCreateUser(userProfile: KeycloakProfile): Promise<User | undefined | null> { | ||||
|   public async getOrCreateUser(userProfile: KeycloakProfile) { | ||||
|     if (userProfile.id == null) { | ||||
|       return null; | ||||
|       return; | ||||
|     } | ||||
| 
 | ||||
|     return await this.getUser(userProfile.id) | ||||
|       .toPromise() | ||||
|       .then(async (user) => { | ||||
|  |  | |||
		Reference in a new issue