Skip to content

Commit 8d18384

Browse files
author
nianiB9
authored
Merge pull request #182 from docusign/DEVDOCS-15804
DEVDOCS-15804
2 parents 9b51fbf + 67ce0c8 commit 8d18384

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/services/monitor_api/eg001_get_monitoring_dataset_service.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ def worker
1919
#ds-snippet-start:Monitor1Step3
2020
monitor_api = DocuSign_Monitor::DataSetApi.new(api_client)
2121
begin
22-
cursor_value = ''
23-
limit = 100
22+
cursor_date = Date.today.prev_year
23+
cursor_value = cursor_date.strftime('%Y-%m-%dT00:00:00Z')
24+
limit = 2000
2425
function_results = []
2526
options = DocuSign_Monitor::GetStreamOptions.new
2627
options.limit = limit

0 commit comments

Comments
 (0)