From 3bf0d16e8a3561f8b57aeae19d0a0f77f8c24719 Mon Sep 17 00:00:00 2001 From: Natty Date: Fri, 22 Sep 2023 19:55:31 +0200 Subject: [PATCH] Fixed an unused warning --- src/webfinger.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/webfinger.rs b/src/webfinger.rs index 7493c7a..2e7e460 100644 --- a/src/webfinger.rs +++ b/src/webfinger.rs @@ -21,7 +21,9 @@ pub struct WebFingerQuery { // TODO: Filter by rel pub async fn handle_webfinger( - Query(WebFingerQuery { resource, rel, .. }): Query, + Query(WebFingerQuery { + resource, rel: _, .. + }): Query, State((config, ck)): State<(&'static MagnetarConfig, CalckeyModel)>, ) -> Result { let resource = match resource {