Generate XsdAnyUri rather than String, remove XsdString

This commit is contained in:
asonix
2020-06-03 12:37:36 -05:00
parent 12660a6243
commit d5cf29f237
13 changed files with 170 additions and 150 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ pub async fn well_known(config: web::Data<Config>) -> impl Responder {
web::Json(Links {
links: vec![Link {
rel: "http://nodeinfo.diaspora.software/ns/schema/2.0".to_owned(),
href: Some(config.generate_url(UrlKind::NodeInfo)),
href: Some(config.generate_url(UrlKind::NodeInfo).to_string()),
template: None,
kind: None,
}],