Debugging

This commit is contained in:
Chris Beach 2017-10-15 21:51:39 +01:00
parent 37436d1adc
commit d73e6b5004
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ module DiscourseDonations
def create
output = { 'messages' => [], 'rewards' => [] }
debug(params)
debug(user_params)
Rails.logger.debug params.inspect
Rails.logger.debug user_params.inspect
if create_account
if !email.present? || !user_params[:username].present?