diff --git a/theseus/src/state/tags.rs b/theseus/src/state/tags.rs index c76a577c..5ba45274 100644 --- a/theseus/src/state/tags.rs +++ b/theseus/src/state/tags.rs @@ -160,34 +160,43 @@ impl Tags { // Store the tags in the database self.0.categories.insert( "categories", - bincode::encode_to_vec(categories.json().await?, *BINCODE_CONFIG)?, + bincode::encode_to_vec( + categories.json::>().await?, + *BINCODE_CONFIG, + )?, )?; self.0.loaders.insert( "loaders", - bincode::encode_to_vec(loaders.json().await?, *BINCODE_CONFIG)?, + bincode::encode_to_vec( + loaders.json::>().await?, + *BINCODE_CONFIG, + )?, )?; self.0.game_versions.insert( "game_versions", bincode::encode_to_vec( - game_versions.json().await?, + game_versions.json::>().await?, *BINCODE_CONFIG, )?, )?; self.0.licenses.insert( "licenses", - bincode::encode_to_vec(licenses.json().await?, *BINCODE_CONFIG)?, + bincode::encode_to_vec( + licenses.json::>().await?, + *BINCODE_CONFIG, + )?, )?; self.0.donation_platforms.insert( "donation_platforms", bincode::encode_to_vec( - donation_platforms.json().await?, + donation_platforms.json::>().await?, *BINCODE_CONFIG, )?, )?; self.0.report_types.insert( "report_types", bincode::encode_to_vec( - report_types.json().await?, + report_types.json::>().await?, *BINCODE_CONFIG, )?, )?;