From d6a48407346bb27f04bc7e73e47b7395e223e2cc Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 21 Apr 2020 20:34:37 -0400 Subject: [PATCH] Fixing nodeinfo error type. --- server/src/routes/nodeinfo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/nodeinfo.rs b/server/src/routes/nodeinfo.rs index 60c3fb8ec..32507c6b6 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")?,