diff --git a/web/src/controller/note_controller.rs b/web/src/controller/note_controller.rs index 257a172..3bf388d 100644 --- a/web/src/controller/note_controller.rs +++ b/web/src/controller/note_controller.rs @@ -145,8 +145,7 @@ pub async fn read( ) -> Result { debug!("GET Organization by id: {}", id); - let note: Option = - NoteApi::find_by_id(app_state.db_conn_ref(), id).await?; + let note: Option = NoteApi::find_by_id(app_state.db_conn_ref(), id).await?; Ok(Json(ApiResponse::new(StatusCode::OK.into(), note))) }