lib/find_deals/cli.rb in find_deals-0.1.0 vs lib/find_deals/cli.rb in find_deals-0.1.1
- old
+ new
@@ -326,10 +326,10 @@
if @input == 'quit'
goodbye
end
end
- SavedDeals.all.delete_from_db(@input.to_i)
+ SavedDeals.all.delete_from_db(user, @input.to_i)
prompt_to_show_saved_deals
next_steps
end
\ No newline at end of file