Trying to fix clippy on crate build

try_docker_latest
Dessalines 2021-11-25 12:57:30 -05:00
parent 7632f98fff
commit 2afdb9cef9
1 changed files with 2 additions and 2 deletions

View File

@ -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")?,