Skip to content

Commit 1dcefc3

Browse files
committed
fix: Set emtpy string previous_search_token to None
1 parent a511aae commit 1dcefc3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

applications/workflows/server/workflows_api/controllers/create_and_access_controller.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ def list_operations(status=None, previous_search_token=None, limit=None): # noq
6565
6666
:rtype: OperationSearchResult
6767
"""
68+
if previous_search_token == "":
69+
previous_search_token = None
70+
6871
try:
6972
return workflow_service.list_operations(status, continue_token=previous_search_token, limit=limit)
7073
except BadParam as e:

0 commit comments

Comments
 (0)