mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
refactor: Fix errors in api/server/get_missing_events.rs
This commit is contained in:
@@ -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