Allow entering custom amount to settle #18

Merged
bilal.catic merged 4 commits from allow-entering-custom-amount-to-settle into master 2020-10-06 08:43:05 +02:00
Showing only changes of commit a141d03475 - Show all commits

View File

@@ -32,7 +32,7 @@ class HomiesController < ApplicationController
homie = Homie.find(homie_id)
if homie.settle(amount)
json_response []
cash
else
error_response :bad_request
end