From a7a0d35ed34f4bd27d6d62546b60d923031a70dc 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( -- 2.44.1