Skip to content

Commit

Permalink
fix: timegated null parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
juliuskreutz committed Oct 16, 2024
1 parent f2b21b8 commit 753b63b
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/api/achievements/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct Achievement {
#[serde(skip_serializing_if = "Option::is_none")]
video: Option<String>,
gacha: bool,
timegated: String,
timegated: Option<String>,
missable: bool,
impossible: bool,
#[serde(skip_serializing_if = "Option::is_none")]
Expand Down
2 changes: 1 addition & 1 deletion src/api/pages/achievement_tracker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct Achievement {
#[serde(skip_serializing_if = "Option::is_none")]
video: Option<String>,
gacha: bool,
timegated: String,
timegated: Option<String>,
missable: bool,
impossible: bool,
percent: f64,
Expand Down
2 changes: 1 addition & 1 deletion src/api/zzz/achievements/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct Achievement {
#[serde(skip_serializing_if = "Option::is_none")]
video: Option<String>,
gacha: bool,
timegated: String,
timegated: Option<String>,
missable: bool,
impossible: bool,
#[serde(skip_serializing_if = "Option::is_none")]
Expand Down
2 changes: 1 addition & 1 deletion src/database/achievements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub struct DbAchievement {
pub difficulty: Option<String>,
pub video: Option<String>,
pub gacha: bool,
pub timegated: String,
pub timegated: Option<String>,
pub missable: bool,
pub impossible: bool,
pub set: Option<i32>,
Expand Down
2 changes: 1 addition & 1 deletion src/database/zzz/achievements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub struct DbAchievement {
pub difficulty: Option<String>,
pub video: Option<String>,
pub gacha: bool,
pub timegated: String,
pub timegated: Option<String>,
pub missable: bool,
pub impossible: bool,
pub set: Option<i32>,
Expand Down

0 comments on commit 753b63b

Please sign in to comment.