From baa0166fc8358bfdf28ba46a47c140d1c337e656 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Tue, 22 Sep 2020 15:13:00 +0200 Subject: [PATCH] Stupid bug :-( --- 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 052d2a2..da293b0 100644 --- a/projects/common/src/fm/services/item.service.ts +++ b/projects/common/src/fm/services/item.service.ts @@ -57,7 +57,7 @@ export class ItemService { getItemData(code: string,limit?:number): Observable { var params = new HttpParams(); - if(limit) params.append("limit", limit.toString()); + if(limit) params=params.append("limit", limit.toString()); return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/items/${code}/data`,{ params: params }); }