From 1c91b8a8c9ce8a047499bc563e832d25344a0cf2 Mon Sep 17 00:00:00 2001 From: svrforum <247831535+svrforum@users.noreply.github.com> Date: Tue, 9 Jun 2026 10:56:16 +0900 Subject: [PATCH] Make get_continuation_token reusable across modules --- src/api/core/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")]