Skip to content

Commit 3b4462d

Browse files
authored
Merge pull request #149 from docusign/fix/list-envelopes-date-filter
Fix date format for list envelopes code example
2 parents 24774b7 + ae11246 commit 3b4462d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/e_sign/eg003_list_envelopes_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def worker
2020
#ds-snippet-start:eSign3Step2
2121
envelope_api = create_envelope_api(args)
2222
options = DocuSign_eSign::ListStatusChangesOptions.new
23-
options.from_date = (Date.today - 30).strftime('%Y/%m/%d')
23+
options.from_date = (Date.today - 30).strftime('%Y-%m-%d')
2424
# Exceptions will be caught by the calling function
2525
envelope_api.list_status_changes args[:account_id], options
2626
#ds-snippet-end:eSign3Step2

0 commit comments

Comments
 (0)