try to fix deleteCodeListItem
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Francisco Salas 2020-10-09 07:47:47 +02:00
parent ac8ab147bc
commit 824ba97704

View File

@ -31,7 +31,7 @@ export class CodeListItemService {
return this.httpClient.put<ICodeListItem>(`${this.ApiEndpoint()}/api/v1/codelistitems/${codeListItem.codeList}`, codeListItem);
}
deleteCodeListItem(codelist: string, code: string) {
deleteCodeListItem(codelist: string, code: string): Observable<any> {
return this.httpClient.delete(`${this.ApiEndpoint()}/api/v1/codelistitems/${codelist}/${code}`);
}
}