Skip to content

Commit

Permalink
fix: match related bugs in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Tropix126 committed Jan 3, 2024
1 parent 71ebec3 commit 476d8c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/schema/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ use super::{PaginatedResponse, Team, Skill, Award, Match, Ranking};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Division {
id: i32,
name: String,
order: i32,
pub id: i32,
pub name: String,
pub order: i32,
}

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
Expand Down
6 changes: 3 additions & 3 deletions src/schema/matches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ pub struct Match {
pub round: i32,
pub instance: i32,
pub matchnum: i32,
pub scheduled: String,
pub started: String,
pub field: String,
pub scheduled: Option<String>,
pub started: Option<String>,
pub field: Option<String>,
pub scored: bool,
pub name: String,
pub alliances: Vec<Alliance>,
Expand Down

0 comments on commit 476d8c0

Please sign in to comment.