task_guid is a str, thanks, typeguard

This commit is contained in:
burnettk 2023-03-27 20:22:12 -04:00
parent 2222995ebd
commit 422aaf09da
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ def task_list_for_my_groups(
def task_data_show(
modified_process_model_identifier: str,
process_instance_id: int,
task_guid: int = 0,
task_guid: str,
) -> flask.wrappers.Response:
task_model = TaskModel.query.filter_by(guid=task_guid, process_instance_id=process_instance_id).first()
if task_model is None: