1
0

Fix panic on requesting projects (#223)

This commit is contained in:
Geometrically
2021-07-19 14:47:14 -07:00
committed by GitHub
parent 9ee92fb9e9
commit b2f8bb9990
5 changed files with 348 additions and 299 deletions

View File

@@ -185,6 +185,7 @@ pub struct GameVersionQueryData {
pub version: String,
pub version_type: String,
pub date: chrono::DateTime<chrono::Utc>,
pub major: bool,
}
#[derive(serde::Deserialize)]
@@ -209,6 +210,7 @@ pub async fn game_version_list(
version: x.version,
version_type: x.version_type,
date: x.date,
major: x.major,
})
.collect();