Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 8545f21

Browse files
fixed changes suggested in comments
1 parent 1d01922 commit 8545f21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aqueductcore/backend/services/task_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ async def revoke_task(
198198
if not user_info.can_cancel_task_owned_by(task_user):
199199
raise AQDPermission("User has no permission to cancel tasks of this user.")
200200

201-
AsyncResult(db_task.task_id).revoke(terminate=terminate, signal="SIGINT")
202-
task_info = await _update_task_info(task_id=db_task.task_id, wait=False)
201+
AsyncResult(db_task.uuid).revoke(terminate=terminate, signal="SIGINT")
202+
task_info = await _update_task_info(task_id=db_task.uuid, wait=False)
203203

204204
username = db_task.created_by_user.username
205205
return await task_orm_to_model(

0 commit comments

Comments
 (0)