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:
parent
05705afdfe
commit
eea6bbbcb5
@ -103,7 +103,7 @@ export class ItemService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
postItem(item:IItem): Observable<IItem> {
|
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> {
|
putItem(item:IItem): Observable<IItem> {
|
||||||
|
Loading…
Reference in New Issue
Block a user