From eea6bbbcb51b72ed2100b6efbf3e70ab86823a7f Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Tue, 28 Jan 2020 11:37:33 +0100 Subject: [PATCH] AW-803 Refactor add --- projects/common/src/fm/services/item.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {