mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
refactor: Fix errors in api/server/get_missing_events.rs
This commit is contained in:
1 file changed
+1
-1
@@ -119,5 +119,5 @@ pub(crate) async fn get_missing_events_route(
|
||||
debug!("limit reached before queue was empty");
|
||||
}
|
||||
results.reverse(); // return oldest first
|
||||
Ok(get_missing_events::v1::Response { events: results })
|
||||
Ok(get_missing_events::v1::Response::new(results))
|
||||
}
|
||||
Reference in new issue
Block a user