Skip to content

Commit

Permalink
fix: 🐛 removed deliberately inserted error for debugging
Browse files Browse the repository at this point in the history
That should never have been pushed!
  • Loading branch information
arctic-hen7 committed Sep 19, 2021
1 parent 53058ba commit a1fec62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/perseus-actix-web/src/initial_load.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pub async fn initial_load<C: ConfigManager, T: TranslationsManager>(
};
// Create a translator here, we'll use it twice
let translator_raw = translations_manager
.get_translator_for_locale("locale".to_string())
.get_translator_for_locale(locale.to_string())
.await;
let translator_raw = match translator_raw {
Ok(translator_raw) => translator_raw,
Expand Down

0 comments on commit a1fec62

Please sign in to comment.