ljrahn / digi-markets

MIT License
0 stars 0 forks source link

Fix pagination #1

Closed ljrahn closed 1 year ago

ljrahn commented 2 years ago

Moralis recently changed their method of pagination. They removed the "offset" query parameter which offsets the number of elements to fetch, and replaced it with a "cursor", which pretty much is a hashed value which points to the next page. This will change the Moralis API class in the server, and we will possibly need to implement something that caches the cursor in the browser for each page you navigate to incase you want to navigate backwards (the cursor in the api call only points to the next page. there is no cursor to point to previous page).

ljrahn commented 1 year ago

fixed in 67da365a972723275ea7fa30b067a8b5502c324b