diff --git a/projects/common/src/fm/services/item.service.ts b/projects/common/src/fm/services/item.service.ts index da293b0..3871b03 100644 --- a/projects/common/src/fm/services/item.service.ts +++ b/projects/common/src/fm/services/item.service.ts @@ -58,7 +58,7 @@ export class ItemService { getItemData(code: string,limit?:number): Observable { var params = new HttpParams(); if(limit) params=params.append("limit", limit.toString()); - return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/items/${code}/data`,{ params: params }); + return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/items/${code}/data`,{ params: params,responseType: 'arraybuffer' }); } getItemByCodeAndType(code: string, itemType: string): Observable {