Skip to content

Commit

Permalink
fix: restore missing line and remove duplication after resolving merg…
Browse files Browse the repository at this point in the history
…e conflicts
  • Loading branch information
adambasha0 committed Nov 18, 2024
1 parent 4a4a35c commit 6adfa08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion app/api/entities/reaction_material_entity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class ReactionMaterialEntity < ApplicationEntity
expose! :reference
expose! :show_label
expose! :waste
expose! :waste
expose! :conversion_rate

expose! :sample, using: 'Entities::SampleEntity', merge: true
Expand Down
1 change: 1 addition & 0 deletions app/usecases/reactions/update_materials.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def associate_sample_with_reaction(sample, modified_sample, material_group)
waste: sample.waste,
coefficient: sample.coefficient,
position: sample.position,
type: reactions_sample_klass,
conversion_rate: sample.conversion_rate,
)
end
Expand Down

0 comments on commit 6adfa08

Please sign in to comment.