Bug: OrderedDataStoresApi_V2 does not return cursor
Closed this issue · 6 comments
iamEvanYT commented
OrderedDataStoresApi_V2 does not return any trace of a cursor.
cameronpcampbell commented
hey, which endpoint(s) in particular is this issue happening with.
Also cursors should be located in a cursors
field of the response.
const { data, cursors } = await method(...)
console.log(cursors)
iamEvanYT commented
the pervious and next cursors are returning undefined.
This is for the list function.
cameronpcampbell commented
Just checked and it looks like I forgot to set the cursors for that function (woops). Until this is fixed you can access the cursors via the response body.
const { response:{body} } = await method(...)
iamEvanYT commented
thank you! also nice library :)
iamEvanYT commented
Do you have a estimated time on when this will be fixed?
cameronpcampbell commented
Issue has now been resolved in 0.0.54
. Thanks for notifying me of this issue. 😄