diff --git a/acrate-webfinger/src/route.rs b/acrate-webfinger/src/route.rs index a94ec6e..deea558 100644 --- a/acrate-webfinger/src/route.rs +++ b/acrate-webfinger/src/route.rs @@ -83,7 +83,7 @@ pub async fn webfinger_handler( .into_iter() .map(|link| ResourceDescriptorLinkJRD { rel: link.rel, - r#type: link.r#type, + r#type: link.type_, href: link.href, titles: Default::default(), // TODO: Titles properties: Default::default(), // TODO: Link properties @@ -128,7 +128,7 @@ pub async fn webfinger_handler( .into_iter() .map(|link| ResourceDescriptorLinkXRD { rel: link.rel, - r#type: link.r#type, + r#type: link.type_, href: link.href, titles: Default::default(), // TODO: Titles properties: Default::default(), // TODO: Link properties