mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 14:21:19 +00:00
Cleaning up nodeinfo.
This commit is contained in:
parent
dff8b947bb
commit
aeec25838a
1 changed files with 1 additions and 3 deletions
|
@ -22,9 +22,7 @@ async fn node_info_well_known() -> HttpResponse<Body> {
|
|||
}
|
||||
});
|
||||
|
||||
HttpResponse::Ok()
|
||||
.content_type("application/json")
|
||||
.body(json.to_string())
|
||||
HttpResponse::Ok().json(json.to_string())
|
||||
}
|
||||
|
||||
async fn node_info(
|
||||
|
|
Loading…
Reference in a new issue