Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Commit 7302147

Browse files
committed
Fix limit being wrongly inserted into the url
1 parent 2d85c7f commit 7302147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proxy/GeoResourceProxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default class GeoResourceProxy extends ResourceProxy {
9393
throw new TypeError(`Invalid resource limit ${limit}, maximum allowed is ${RequestParameters.maxPerPage}`);
9494
}
9595

96-
const url = `${this.new().baseUrl}/for-boundary?per_page=limit`;
96+
const url = `${this.new().baseUrl}/for-boundary?per_page=${limit}`;
9797

9898
const { data: { data: result } } = await this.api.axios.post(url, { boundary });
9999

0 commit comments

Comments
 (0)