diff --git a/app/controllers/api/donations_controller.rb b/app/controllers/api/donations_controller.rb index 85bde64bb..8575f3a83 100644 --- a/app/controllers/api/donations_controller.rb +++ b/app/controllers/api/donations_controller.rb @@ -34,6 +34,7 @@ def card if purchase.save arr[:success] = "Congratulations! You have donated to the pitch" arr[:id] = d.id + arr[:donation] = { :amount => donation_amount, :processing_fee => spotus_amount, :total_amount => donation_amount * (1+SpotusDonation::SPOTUS_TITHE) } else arr[:errors] = purchase.errors.full_messages end diff --git a/app/controllers/api/users_controller.rb b/app/controllers/api/users_controller.rb index 024a8d589..8d8443124 100644 --- a/app/controllers/api/users_controller.rb +++ b/app/controllers/api/users_controller.rb @@ -35,5 +35,5 @@ def create return end end - +ov end