AW-803 Refactor add
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
This commit is contained in:
@@ -103,7 +103,7 @@ export class ItemService {
|
||||
}
|
||||
|
||||
postItem(item:IItem): Observable<IItem> {
|
||||
return this.httpClient.post<IItem>(`${this.ApiEndpoint()}/api/v1/items/${item.code}`,item);
|
||||
return this.httpClient.post<IItem>(`${this.ApiEndpoint()}/api/v1/items/add`,item);
|
||||
}
|
||||
|
||||
putItem(item:IItem): Observable<IItem> {
|
||||
|
Reference in New Issue
Block a user