mirror of https://github.com/LemmyNet/lemmy.git
Trying to fix clippy on crate build
parent
7632f98fff
commit
2afdb9cef9
|
@ -1,4 +1,4 @@
|
|||
use actix_web::{body::Body, error::ErrorBadRequest, *};
|
||||
use actix_web::{body::AnyBody, error::ErrorBadRequest, *};
|
||||
use anyhow::anyhow;
|
||||
use lemmy_api_common::blocking;
|
||||
use lemmy_db_views::site_view::SiteView;
|
||||
|
@ -15,7 +15,7 @@ pub fn config(cfg: &mut web::ServiceConfig) {
|
|||
|
||||
async fn node_info_well_known(
|
||||
context: web::Data<LemmyContext>,
|
||||
) -> Result<HttpResponse<Body>, LemmyError> {
|
||||
) -> Result<HttpResponse<AnyBody>, LemmyError> {
|
||||
let node_info = NodeInfoWellKnown {
|
||||
links: vec![NodeInfoWellKnownLinks {
|
||||
rel: Url::parse("http://nodeinfo.diaspora.software/ns/schema/2.0")?,
|
||||
|
|
Loading…
Reference in New Issue