Skip to content

Commit

Permalink
Merge pull request fhir-crucible#64 from Mckesson-cds/modify-handling…
Browse files Browse the repository at this point in the history
…-responses

Update/Conditional Update parse reply
  • Loading branch information
jawalonoski committed Mar 21, 2017
2 parents ead75da + 83fc47e commit 6e72669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fhir_client/sections/crud.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def base_update(resource, id, options, format)
options[:format] = format
options[:id] = id
reply = put resource_url(options), resource, fhir_headers(options)
reply.resource = parse_reply(resource.class, format, reply)
reply.resource = parse_reply(resource.class, format, reply) if reply.body.present?
reply.resource_class = resource.class
reply
end
Expand Down

0 comments on commit 6e72669

Please sign in to comment.