Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed May 2, 2024
1 parent 8f288fc commit 6a62ee2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/api_mastodon/src/routes/instance/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub async fn v2(data: Data<AppData>) -> Result<Json<Instance>, AppError> {
)]
#[debug_handler]
pub async fn v1(data: Data<AppData>) -> Result<Json<InstanceV1>, AppError> {
Ok(Json(
InstanceV1::from_instance(Instance::new(&data).await?)?,
))
Ok(Json(InstanceV1::from_instance(
Instance::new(&data).await?,
)?))
}

0 comments on commit 6a62ee2

Please sign in to comment.