app/commands/decidim/budgets/remove_line_item.rb in decidim-budgets-0.18.1 vs app/commands/decidim/budgets/remove_line_item.rb in decidim-budgets-0.19.0
- old
+ new
@@ -19,9 +19,10 @@
# - :invalid if the there is an error.
#
# Returns nothing.
def call
return broadcast(:invalid) if @order.checked_out?
+
remove_line_item
broadcast(:ok, @order)
end
private