From 7839eb6d40a5e45b3e8137f3f9455bb93e894200 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 12 Jan 2020 16:57:48 -0500 Subject: [PATCH] Fixing nodeinfo endpoint. --- 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 b702c608..509e3404 100644 --- a/server/src/routes/nodeinfo.rs +++ b/server/src/routes/nodeinfo.rs @@ -22,7 +22,7 @@ async fn node_info_well_known() -> HttpResponse { } }); - HttpResponse::Ok().json(json.to_string()) + HttpResponse::Ok().json(json) } async fn node_info(