fix: pagination for stays
This commit is contained in:
@@ -87,7 +87,7 @@ export const userQueryRouter = router({
|
||||
params.set("limit", limit.toString())
|
||||
|
||||
if (cursor) {
|
||||
params.set("offset", cursor)
|
||||
params.set("offset", cursor.toString())
|
||||
}
|
||||
|
||||
const apiResponse = await api.get(
|
||||
@@ -148,7 +148,7 @@ export const userQueryRouter = router({
|
||||
params.set("limit", limit.toString())
|
||||
|
||||
if (cursor) {
|
||||
params.set("offset", cursor)
|
||||
params.set("offset", cursor.toString())
|
||||
}
|
||||
|
||||
const apiResponse = await api.get(
|
||||
|
||||
Reference in New Issue
Block a user