Skip to content

Commit

Permalink
Typo meaning we are not syncing adjustment deletions to app store (#847)
Browse files Browse the repository at this point in the history
`call` just does the local stuff. `call!` calls `call` then syncs to the
app store.
  • Loading branch information
patrick-laa authored Nov 14, 2024
1 parent b432266 commit 78fdb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/nsm/adjustment_concern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def confirm_deletion
def destroy
deleter = Nsm::AdjustmentDeleter.new(params, resource_klass, current_user)
authorize(deleter.submission, :update?)
deleter.call
deleter.call!
redirect_to destroy_redirect, flash: { success: t('.success') }
end

Expand Down

0 comments on commit 78fdb26

Please sign in to comment.