Fixed an unused warning

This commit is contained in:
Natty 2023-09-22 19:55:31 +02:00
parent f39495fbb4
commit 3bf0d16e8a
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,9 @@ pub struct WebFingerQuery {
// TODO: Filter by rel
pub async fn handle_webfinger(
Query(WebFingerQuery { resource, rel, .. }): Query<WebFingerQuery>,
Query(WebFingerQuery {
resource, rel: _, ..
}): Query<WebFingerQuery>,
State((config, ck)): State<(&'static MagnetarConfig, CalckeyModel)>,
) -> Result<impl IntoResponse, StatusCode> {
let resource = match resource {