Stupid bug :-(
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
58c200aca0
commit
baa0166fc8
@ -57,7 +57,7 @@ export class ItemService {
|
|||||||
|
|
||||||
getItemData(code: string,limit?:number): Observable<ArrayBuffer> {
|
getItemData(code: string,limit?:number): Observable<ArrayBuffer> {
|
||||||
var params = new HttpParams();
|
var params = new HttpParams();
|
||||||
if(limit) params.append("limit", limit.toString());
|
if(limit) params=params.append("limit", limit.toString());
|
||||||
return this.httpClient.get<ArrayBuffer>(`${this.ApiEndpoint()}/api/v1/items/${code}/data`,{ params: params });
|
return this.httpClient.get<ArrayBuffer>(`${this.ApiEndpoint()}/api/v1/items/${code}/data`,{ params: params });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user