mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
fix thread pagination
refactor logic increase fetch limit for first relates apply other format Co-authored-by: Jason Volk <jason@zemos.net> Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
78aeb620bc
commit
2e4d9cb37c
3 files changed
+125
-123
No files matched your search
@@ -20,8 +20,8 @@ pub(crate) async fn get_relating_events_with_rel_type_and_event_type_route(
|
||||
&body.event_id,
|
||||
body.event_type.clone().into(),
|
||||
body.rel_type.clone().into(),
|
||||
body.from.as_ref(),
|
||||
body.to.as_ref(),
|
||||
body.from.as_deref(),
|
||||
body.to.as_deref(),
|
||||
body.limit,
|
||||
body.recurse,
|
||||
body.dir,
|
||||
@@ -51,8 +51,8 @@ pub(crate) async fn get_relating_events_with_rel_type_route(
|
||||
&body.event_id,
|
||||
None,
|
||||
body.rel_type.clone().into(),
|
||||
body.from.as_ref(),
|
||||
body.to.as_ref(),
|
||||
body.from.as_deref(),
|
||||
body.to.as_deref(),
|
||||
body.limit,
|
||||
body.recurse,
|
||||
body.dir,
|
||||
@@ -82,8 +82,8 @@ pub(crate) async fn get_relating_events_route(
|
||||
&body.event_id,
|
||||
None,
|
||||
None,
|
||||
body.from.as_ref(),
|
||||
body.to.as_ref(),
|
||||
body.from.as_deref(),
|
||||
body.to.as_deref(),
|
||||
body.limit,
|
||||
body.recurse,
|
||||
body.dir,
|
||||
|
||||
Reference in new issue
Block a user