diff --git a/src/api/core/events.rs b/src/api/core/events.rs index b6e2bacd..a7a340d6 100644 --- a/src/api/core/events.rs +++ b/src/api/core/events.rs @@ -125,7 +125,7 @@ async fn get_user_events( }))) } -fn get_continuation_token(events_json: &[Value]) -> Option<&str> { +pub(crate) fn get_continuation_token(events_json: &[Value]) -> Option<&str> { // When the length of the vec equals the max page_size there probably is more data // When it is less, then all events are loaded. #[expect(clippy::cast_possible_truncation, reason = "PAGE_SIZE fits within usize")]