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 {