]> Untitled Git - lemmy.git/commitdiff
Fixing nodeinfo error type.
authorDessalines <tyhou13@gmx.com>
Wed, 22 Apr 2020 00:34:37 +0000 (20:34 -0400)
committerDessalines <tyhou13@gmx.com>
Wed, 22 Apr 2020 00:34:37 +0000 (20:34 -0400)
server/src/routes/nodeinfo.rs

index 60c3fb8ec993fd3b4fbf86ac260c34ec353109c0..32507c6b6eb38980cf9e014bead9a6ed8c5cb140 100644 (file)
@@ -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<HttpResponse<Body>, Error> {
+async fn node_info_well_known() -> Result<HttpResponse<Body>, failure::Error> {
   let node_info = NodeInfoWellKnown {
     links: NodeInfoWellKnownLinks {
       rel: Url::parse("http://nodeinfo.diaspora.software/ns/schema/2.0")?,