Skip to content

Commit

Permalink
fix: update call to include correct response type
Browse files Browse the repository at this point in the history
  • Loading branch information
Borduhh committed Feb 21, 2021
1 parent d3e0e5d commit 763df8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/restful/commerce/taxonomy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ export default class Taxonomy extends Api {
*/
public fetchItemAspects(categoryTreeId: string) {
const cId = encodeURIComponent(categoryTreeId);
return this.get(`/category_tree/${cId}/fetch_item_aspects`);
return this.get(`/category_tree/${cId}/fetch_item_aspects`, {
responseType: 'arraybuffer'
});
}
}

0 comments on commit 763df8a

Please sign in to comment.