Skip to content

Commit

Permalink
Merge pull request #5844 from mdeniz/bugfix/fix_5843
Browse files Browse the repository at this point in the history
Fix issue while adding XML for requests diff
  • Loading branch information
vpereira committed Sep 12, 2018
2 parents 4a85f8e + 2146076 commit 2d05136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/controllers/request_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def request_command_diff
# Inject backend-provided XML diff into action XML:
builder = Nokogiri::XML::Builder.new
action.render_xml(builder)
xml_request.add_child(builder.to_xml)
xml_request.add_child(builder.doc.root.to_xml)
xml_request.at_css('action').add_child(action_diff)
else
diff_text += action_diff
Expand Down

0 comments on commit 2d05136

Please sign in to comment.