diff options
| author | Fuwn <[email protected]> | 2023-04-06 01:53:22 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-04-06 01:53:22 -0700 |
| commit | 9235be2eedc2c4f3a78cb704b0a107f33607e530 (patch) | |
| tree | fc927ec6d5a58d2e995cf6ff80ae2804a2265531 /src/modules/router/translate/module.rs | |
| parent | deps(windmark): bump 0.2.5 -> 0.3.1 (diff) | |
| download | locus-9235be2eedc2c4f3a78cb704b0a107f33607e530.tar.xz locus-9235be2eedc2c4f3a78cb704b0a107f33607e530.zip | |
feat: native async reqwest calls
Diffstat (limited to 'src/modules/router/translate/module.rs')
| -rw-r--r-- | src/modules/router/translate/module.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/router/translate/module.rs b/src/modules/router/translate/module.rs index 4c105e1..70e4829 100644 --- a/src/modules/router/translate/module.rs +++ b/src/modules/router/translate/module.rs @@ -20,7 +20,7 @@ use super::deepl::translate; use crate::modules::router::translate::deepl::language_code_to_language_name; pub fn module<S>( - context: &windmark::context::HookContext<'_>, + context: &windmark::context::HookContext, response: &mut windmark::Response, language: S, ) -> Result<(), serde_json::Error> |