@@ -1,10 +1,3 @@
|
||||
/*
|
||||
* Helper that fetches every page from a paginated API into one array.
|
||||
*
|
||||
* Author: Shiv
|
||||
* Date: April 2026
|
||||
*/
|
||||
|
||||
//Fetches every page from a paginated API and returns all items in one array
|
||||
export async function fetchAllPages(urlBuilder) {
|
||||
const items = [];
|
||||
|
||||
Reference in New Issue
Block a user