aw-1686 expand user profile; added put operation
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
				
			This commit is contained in:
		| @@ -3,4 +3,14 @@ export interface IUser { | |||||||
|   name?: string; |   name?: string; | ||||||
|   email?: string; |   email?: string; | ||||||
|   claims: any; |   claims: any; | ||||||
| } |   firstName?: string; | ||||||
|  |   lastName?: string; | ||||||
|  |   address?: string; | ||||||
|  |   postalCode?: string; | ||||||
|  |   city?: string; | ||||||
|  |   country?: string; | ||||||
|  |   phone?: string; | ||||||
|  |   mobile?: string; | ||||||
|  |   organisation?: string; | ||||||
|  |   cocNumber?: string; | ||||||
|  | } | ||||||
| @@ -18,4 +18,8 @@ export class UserService { | |||||||
|   getCurrentUser(): Observable<IUser> { |   getCurrentUser(): Observable<IUser> { | ||||||
|     return this.httpClient.get<IUser>(`${this.ApiEndpoint()}/api/v1/currentuser`); |     return this.httpClient.get<IUser>(`${this.ApiEndpoint()}/api/v1/currentuser`); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |   updateCurrentUser(user: IUser): Observable<IUser> { | ||||||
|  |     return this.httpClient.put<IUser>(`${this.ApiEndpoint()}/api/v1/currentuser`, user); | ||||||
|  |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user