Skip to content

Commit 677e1ca

Browse files
committed
delete .toString()
1 parent 99a9baf commit 677e1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/academy/api_scraping/general_api_scraping/handling_pagination.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ const scrape100Items = async () => {
157157

158158
// make the paginated request and push its results
159159
// into the in-memory "items" array
160-
const res = await gotScraping(nextURL.toString());
160+
const res = await gotScraping(nextURL);
161161
const json = JSON.parse(res.body);
162162
items.push(json.collection);
163163

0 commit comments

Comments
 (0)