Skip to content

Commit

Permalink
fix(getItemResources): allow user to override paging
Browse files Browse the repository at this point in the history
Allow user to override paging

AFFECTS PACKAGES:
@esri/arcgis-rest-portal
  • Loading branch information
dbouwman committed Feb 24, 2020
1 parent cac63e8 commit 97cbec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/arcgis-rest-portal/src/items/get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export function getItemResources(
const options: IRequestOptions = {
...requestOptions
};
options.params = { ...options.params, ...{ num: 1000 } };
options.params = { num: 1000, ...options.params };

return request(url, options);
}
Expand Down

0 comments on commit 97cbec0

Please sign in to comment.