fix space hierarchy pagination not respecting client-specified limit.
This commit is contained in:
parent
b91af70e0b
commit
773c3d457b
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ where
|
||||||
(next_short_room_ids.iter().ne(short_room_ids) && !next_short_room_ids.is_empty())
|
(next_short_room_ids.iter().ne(short_room_ids) && !next_short_room_ids.is_empty())
|
||||||
.then_some(PaginationToken {
|
.then_some(PaginationToken {
|
||||||
short_room_ids: next_short_room_ids,
|
short_room_ids: next_short_room_ids,
|
||||||
limit: max_depth.try_into().ok()?,
|
limit: limit.try_into().ok()?,
|
||||||
max_depth: max_depth.try_into().ok()?,
|
max_depth: max_depth.try_into().ok()?,
|
||||||
suggested_only,
|
suggested_only,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue