fix(core): getStarGifts pagination
This commit is contained in:
parent
81398889f6
commit
edf8c8939e
1 changed files with 1 additions and 1 deletions
|
@ -42,5 +42,5 @@ export async function getStarGifts(
|
||||||
const peers = PeersIndex.from(res)
|
const peers = PeersIndex.from(res)
|
||||||
const gifts = res.gifts.map(gift => new UserStarGift(gift, peers))
|
const gifts = res.gifts.map(gift => new UserStarGift(gift, peers))
|
||||||
|
|
||||||
return makeArrayPaginated(gifts, res.count, offset)
|
return makeArrayPaginated(gifts, res.count, res.nextOffset)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue