From: Dessalines Date: Sun, 12 Jan 2020 21:57:48 +0000 (-0500) Subject: Fixing nodeinfo endpoint. X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/save/%22%7B%7D/static/git-logo.png?a=commitdiff_plain;h=a7a0d35ed34f4bd27d6d62546b60d923031a70dc;p=lemmy.git Fixing nodeinfo endpoint. --- 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(