Skip to content

Commit

Permalink
Fix missing model id when calling update method
Browse files Browse the repository at this point in the history
  • Loading branch information
sabotack committed Nov 28, 2023
1 parent 25940ef commit 9270e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/ecdar_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl EcdarApi for ConcreteEcdarApi {
};

let new_model = model::Model {

Check warning on line 205 in src/api/ecdar_api.rs

View workflow job for this annotation

GitHub Actions / cargo fmt

Diff in /home/runner/work/Ecdar-API/Ecdar-API/src/api/ecdar_api.rs
id: Default::default(),
id: model.id,
name: match message.clone().name {
Some(name) => name,
None => model.name,
Expand Down

0 comments on commit 9270e02

Please sign in to comment.