Skip to content

Commit

Permalink
corrected method
Browse files Browse the repository at this point in the history
  • Loading branch information
manglemix committed Jan 28, 2025
1 parent 51f3615 commit fc5c28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr-backend/src/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ async fn update_order(
ref_number: ActiveValue::Set(update_order.ref_number),
};

active_model.insert(tx).await?;
active_model.update(tx).await?;

Result::<_, sea_orm::DbErr>::Ok(())
})
Expand Down

0 comments on commit fc5c28c

Please sign in to comment.