From: Dessalines Date: Sun, 12 Jan 2020 21:57:48 +0000 (-0500) Subject: Fixing nodeinfo endpoint. X-Git-Url: http://these/git/readmes/%24%7B%60data:application/%7BpictrsAvatarThumbnail%28this.props.site.site.icon%29%7D?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(