cameronpcampbell/openblox

Bug: OrderedDataStoresApi_V2 does not return cursor

Closed this issue · 6 comments

OrderedDataStoresApi_V2 does not return any trace of a cursor.

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)

the pervious and next cursors are returning undefined.
This is for the list function.

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(...)

thank you! also nice library :)

Do you have a estimated time on when this will be fixed?

Issue has now been resolved in 0.0.54. Thanks for notifying me of this issue. 😄