This commit is contained in:
parent
eea6bbbcb5
commit
5e8e2388b5
@ -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/add`,item);
|
return this.httpClient.post<IItem>(`${this.ApiEndpoint()}/api/v1/items`,item);
|
||||||
}
|
}
|
||||||
|
|
||||||
putItem(item:IItem): Observable<IItem> {
|
putItem(item:IItem): Observable<IItem> {
|
||||||
|
Loading…
Reference in New Issue
Block a user