Skip to content

Commit

Permalink
feat(service): Add disabled field edition on product update method
Browse files Browse the repository at this point in the history
  • Loading branch information
flo-ride committed Oct 26, 2024
1 parent abe80ee commit 56a33ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/src/mutation/product.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Mutation {
max_quantity_per_command: Set(form_data.max_quantity_per_command),
sma_code: Set(form_data.sma_code),
creation_time: NotSet,
disabled: Set(false),
disabled: Set(form_data.disabled),
}
.update(&conn.db_connection)
.await;
Expand Down

0 comments on commit 56a33ba

Please sign in to comment.