From f656ecd23fb4a81fbf485a970a931390c0177085 Mon Sep 17 00:00:00 2001 From: Francisco Salas Date: Mon, 12 Oct 2020 14:05:27 +0200 Subject: [PATCH] undo previous commit --- projects/common/src/fm/services/codelistitem.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/common/src/fm/services/codelistitem.service.ts b/projects/common/src/fm/services/codelistitem.service.ts index 175f462..3900080 100644 --- a/projects/common/src/fm/services/codelistitem.service.ts +++ b/projects/common/src/fm/services/codelistitem.service.ts @@ -23,8 +23,8 @@ export class CodeListItemService { return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/codelistitems/`, { params: params }); } - postCodeListItem(codeList: string, codeListItem: ICodeListItem): Observable { - return this.httpClient.post(`${this.ApiEndpoint()}/api/v1/codelistitems/${codeList}`, codeListItem); + postCodeListItem(codeListItem: ICodeListItem): Observable { + return this.httpClient.post(`${this.ApiEndpoint()}/api/v1/codelistitems/${codeListItem.codeList}`, codeListItem); } putCodeListItem(codeListItem: ICodeListItem): Observable {