AW-835 Fixed ERROR: projects/common/src/fm/services/codelistitem.service.ts(23,5): error TS2322: Type 'Observable<ICodeListItem>' is not assignable to type 'Observable<ICodeListItem[]>'.
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
This commit is contained in:
parent
a12b45f8f9
commit
313e0c94f7
@ -20,6 +20,6 @@ export class CodeListItemService {
|
||||
params = params.append("cl", codelist.join(","));
|
||||
if (codegroup) params = params.append("g", codegroup);
|
||||
if (dataFilter) params = params.append("df", dataFilter);
|
||||
return this.httpClient.get<ICodeListItem>(`${this.ApiEndpoint()}/api/v1/codelistitems/`, { params: params });
|
||||
return this.httpClient.get<ICodeListItem[]>(`${this.ApiEndpoint()}/api/v1/codelistitems/`, { params: params });
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user