Skip to content

Commit

Permalink
fix: avoid deleting manual efforts while syncing demand
Browse files Browse the repository at this point in the history
  • Loading branch information
lhguerra committed Dec 19, 2024
1 parent aa117b7 commit a8d38d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/demands_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def demand_efforts

def clean_assignments_efforts
@demand.item_assignments.destroy_all
@demand.demand_efforts.destroy_all
@demand.demand_efforts.where(automatic_update: true).destroy_all
end

def read_demand_children
Expand Down

0 comments on commit a8d38d8

Please sign in to comment.