aboutsummaryrefslogtreecommitdiff
path: root/src/modules/router/translate/module.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-04-06 01:53:22 -0700
committerFuwn <[email protected]>2023-04-06 01:53:22 -0700
commit9235be2eedc2c4f3a78cb704b0a107f33607e530 (patch)
treefc927ec6d5a58d2e995cf6ff80ae2804a2265531 /src/modules/router/translate/module.rs
parentdeps(windmark): bump 0.2.5 -> 0.3.1 (diff)
downloadlocus-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.rs2
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>