1
Fork 0

webfinger: yield to type_

This commit is contained in:
Steffo 2024-11-16 01:35:30 +01:00
parent 8a49903eca
commit 72f3669ef1
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -83,7 +83,7 @@ pub async fn webfinger_handler(
.into_iter() .into_iter()
.map(|link| ResourceDescriptorLinkJRD { .map(|link| ResourceDescriptorLinkJRD {
rel: link.rel, rel: link.rel,
r#type: link.r#type, r#type: link.type_,
href: link.href, href: link.href,
titles: Default::default(), // TODO: Titles titles: Default::default(), // TODO: Titles
properties: Default::default(), // TODO: Link properties properties: Default::default(), // TODO: Link properties
@ -128,7 +128,7 @@ pub async fn webfinger_handler(
.into_iter() .into_iter()
.map(|link| ResourceDescriptorLinkXRD { .map(|link| ResourceDescriptorLinkXRD {
rel: link.rel, rel: link.rel,
r#type: link.r#type, r#type: link.type_,
href: link.href, href: link.href,
titles: Default::default(), // TODO: Titles titles: Default::default(), // TODO: Titles
properties: Default::default(), // TODO: Link properties properties: Default::default(), // TODO: Link properties