Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
BBaoVanC committed Sep 22, 2024
1 parent 43966fc commit d3d7067
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bobashare-web/src/views/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ pub struct UploadTemplate<'a> {
}

#[instrument(skip(state))]
pub async fn upload(State(state): State<Arc<AppState>>) -> Result<impl IntoResponse, ErrorResponse> {
pub async fn upload(
State(state): State<Arc<AppState>>,
) -> Result<impl IntoResponse, ErrorResponse> {
let mut state: TemplateState = state.into();
state.current_navigation = Some(CurrentNavigation::Upload);
event!(Level::DEBUG, "returning upload template");
Expand Down

0 comments on commit d3d7067

Please sign in to comment.