Fixed an unused warning
This commit is contained in:
parent
f39495fbb4
commit
3bf0d16e8a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue