From 0425e8b11411acfecc3335bf1fdd9dd75dd9536d 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 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")?, -- 2.44.1