Skip to content

Commit

Permalink
Run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jhodapp committed Jul 27, 2024
1 parent 7e5ccba commit 494e99c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/src/controller/note_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ pub async fn read(
) -> Result<impl IntoResponse, Error> {
debug!("GET Organization by id: {}", id);

let note: Option<notes::Model> =
NoteApi::find_by_id(app_state.db_conn_ref(), id).await?;
let note: Option<notes::Model> = NoteApi::find_by_id(app_state.db_conn_ref(), id).await?;

Ok(Json(ApiResponse::new(StatusCode::OK.into(), note)))
}

0 comments on commit 494e99c

Please sign in to comment.