diff --git a/app/controllers/patients_controller.rb b/app/controllers/patients_controller.rb index 3cdcc47a6..67a7a92df 100644 --- a/app/controllers/patients_controller.rb +++ b/app/controllers/patients_controller.rb @@ -84,7 +84,7 @@ def fetch_pledge encrypted_payload = { encrypted: encrypt_payload(payload.to_json) } result = HTTParty.post(endpoint, body: encrypted_payload, headers: {}, basic_auth: basic_auth) - puts result.content + puts result.body if result.ok? now = Time.zone.now.strftime('%Y%m%d')