Skip to content

Commit

Permalink
Update app/models/procedure_revision.rb
Browse files Browse the repository at this point in the history
Co-authored-by: LeSim <mail@simon.lehericey.net>
  • Loading branch information
mfo and LeSim authored Jan 22, 2024
1 parent 91cd30b commit 438888a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/procedure_revision.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def add_type_de_champ(params)
after_stable_id = params.delete(:after_stable_id)
after_coordinate, _ = coordinate_and_tdc(after_stable_id)

siblings = siblings_for(parent_coordinate:, private_tdc: params[:private] || params['private'])
siblings = siblings_for(parent_coordinate:, private_tdc: params[:private])

tdc = TypeDeChamp.new(params)
if tdc.save
Expand Down

0 comments on commit 438888a

Please sign in to comment.