]> Untitled Git - lemmy.git/commitdiff
Fixing nodeinfo endpoint.
authorDessalines <tyhou13@gmx.com>
Sun, 12 Jan 2020 21:57:48 +0000 (16:57 -0500)
committerDessalines <tyhou13@gmx.com>
Sun, 12 Jan 2020 21:57:48 +0000 (16:57 -0500)
server/src/routes/nodeinfo.rs

index b702c6086fe26a3e8d36c94260309433361d840f..509e3404ae6943e8ed2eadc0925bd0c5abdd4d62 100644 (file)
@@ -22,7 +22,7 @@ async fn node_info_well_known() -> HttpResponse<Body> {
     }
   });
 
-  HttpResponse::Ok().json(json.to_string())
+  HttpResponse::Ok().json(json)
 }
 
 async fn node_info(