Skip to content

Commit

Permalink
allow to set recipient_id and routing_order for carbon copies
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra committed Oct 16, 2023
1 parent f93eaff commit a0f0313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/docusign_rest/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def get_carbon_copies(options, signer_count)
(options || []).each do |cc|
signer_count += 1
raise "Missing required data [:email, :name]" unless (cc[:email] && cc[:name])
cc.merge!(recipient_id: signer_count, routing_order: signer_count)
cc.reverse_merge!(recipient_id: signer_count, routing_order: signer_count)
copies << camelize_keys(cc)
end
copies
Expand Down

0 comments on commit a0f0313

Please sign in to comment.