diff --git a/crates/api_mastodon/src/routes/instance/instance.rs b/crates/api_mastodon/src/routes/instance/instance.rs index e9c0dfd5..0499c93f 100644 --- a/crates/api_mastodon/src/routes/instance/instance.rs +++ b/crates/api_mastodon/src/routes/instance/instance.rs @@ -33,7 +33,7 @@ pub async fn v2(data: Data) -> Result, AppError> { )] #[debug_handler] pub async fn v1(data: Data) -> Result, AppError> { - Ok(Json( - InstanceV1::from_instance(Instance::new(&data).await?)?, - )) + Ok(Json(InstanceV1::from_instance( + Instance::new(&data).await?, + )?)) }