diff --git a/projects/common/src/fm/services/item.service.ts b/projects/common/src/fm/services/item.service.ts index 0d0f6d1..2bdc1fa 100644 --- a/projects/common/src/fm/services/item.service.ts +++ b/projects/common/src/fm/services/item.service.ts @@ -103,7 +103,7 @@ export class ItemService { } postItem(item:IItem): Observable { - return this.httpClient.post(`${this.ApiEndpoint()}/api/v1/items/${item.code}`,item); + return this.httpClient.post(`${this.ApiEndpoint()}/api/v1/items/add`,item); } putItem(item:IItem): Observable {