Cleaning up nodeinfo.

This commit is contained in:
Dessalines 2020-01-12 12:52:19 -05:00
parent dff8b947bb
commit aeec25838a

View file

@ -22,9 +22,7 @@ async fn node_info_well_known() -> HttpResponse<Body> {
} }
}); });
HttpResponse::Ok() HttpResponse::Ok().json(json.to_string())
.content_type("application/json")
.body(json.to_string())
} }
async fn node_info( async fn node_info(