From 72f3669ef172217bb4a732064e13d3fde453be81 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 16 Nov 2024 01:35:30 +0100 Subject: [PATCH] `webfinger`: yield to `type_` --- acrate-webfinger/src/route.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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