Skip to content

Commit

Permalink
Merge pull request #104 from ynput/bugfix/max-retries-are-optional
Browse files Browse the repository at this point in the history
Fix 'enroll_event' queries
  • Loading branch information
iLLiCiTiT authored Oct 25, 2023
2 parents 4c3f601 + 3f59fb0 commit cff2524
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ayon_api/server_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1512,8 +1512,9 @@ def enroll_event_job(
"sourceTopic": source_topic,
"targetTopic": target_topic,
"sender": sender,
"maxRetries": max_retries,
}
if max_retries is not None:
kwargs["maxRetries"] = max_retries
if sequential is not None:
kwargs["sequential"] = sequential
if description is not None:
Expand Down

0 comments on commit cff2524

Please sign in to comment.