From: Dessalines Date: Wed, 22 Apr 2020 00:34:37 +0000 (-0400) Subject: Fixing nodeinfo error type. X-Git-Url: http://these/git/readmes/%7B%60https:/%22https:/hacktivis.me/static/%24%7Bsrc%7D?a=commitdiff_plain;h=0425e8b11411acfecc3335bf1fdd9dd75dd9536d;p=lemmy.git Fixing nodeinfo error type. --- diff --git a/server/src/routes/nodeinfo.rs b/server/src/routes/nodeinfo.rs index 60c3fb8e..32507c6b 100644 --- a/server/src/routes/nodeinfo.rs +++ b/server/src/routes/nodeinfo.rs @@ -6,7 +6,7 @@ pub fn config(cfg: &mut web::ServiceConfig) { .route("/.well-known/nodeinfo", web::get().to(node_info_well_known)); } -async fn node_info_well_known() -> Result, Error> { +async fn node_info_well_known() -> Result, failure::Error> { let node_info = NodeInfoWellKnown { links: NodeInfoWellKnownLinks { rel: Url::parse("http://nodeinfo.diaspora.software/ns/schema/2.0")?,