Skip to content

Commit

Permalink
fix: /api/remote/servers response schema when there are no servers
Browse files Browse the repository at this point in the history
  • Loading branch information
fetchfern committed Apr 21, 2024
1 parent af06d9f commit 8d8c19a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/alerion_datamodel/src/remote/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ pub struct ServerData {
#[derive(Debug, Deserialize)]
pub struct GetServersResponseMetadata {
pub current_page: usize,
pub from: usize,
pub from: Option<usize>,
pub last_page: usize,
pub links: IgnoredAny,
pub path: IgnoredAny,
pub per_page: usize,
pub to: usize,
pub to: Option<usize>,
pub total: usize,
}

Expand Down

0 comments on commit 8d8c19a

Please sign in to comment.