AW-803 Add deleteItem.
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				FarmMaps.Develop/FarmMapsLib/develop There was a failure building this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	FarmMaps.Develop/FarmMapsLib/develop There was a failure building this commit
				
			This commit is contained in:
		| @@ -110,6 +110,10 @@ export class ItemService { | |||||||
|     return this.httpClient.put<IItem>(`${this.ApiEndpoint()}/api/v1/items/${item.code}`,item); |     return this.httpClient.put<IItem>(`${this.ApiEndpoint()}/api/v1/items/${item.code}`,item); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |   deleteItem(itemCode: string): Observable<any> { | ||||||
|  |     return this.httpClient.delete<any>(`${this.ApiEndpoint()}/api/v1/items`, itemCode); | ||||||
|  |   } | ||||||
|  |  | ||||||
|   deleteItems(itemCodes:string[]): Observable<any> { |   deleteItems(itemCodes:string[]): Observable<any> { | ||||||
|     return this.httpClient.post<any>(`${this.ApiEndpoint()}/api/v1/items/delete`, itemCodes); |     return this.httpClient.post<any>(`${this.ApiEndpoint()}/api/v1/items/delete`, itemCodes); | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user