From a2c60da161e3ccc43e5bc632cdc06ca43c2388a9 Mon Sep 17 00:00:00 2001 From: Jarvis Date: Mon, 2 Feb 2026 17:29:49 +0000 Subject: [PATCH] Fix review notifications BackgroundTasks args --- backend/app/api/work.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/app/api/work.py b/backend/app/api/work.py index e76af608..1ca07f49 100644 --- a/backend/app/api/work.py +++ b/backend/app/api/work.py @@ -216,9 +216,11 @@ def review_task( # Notify assignee (comment.created will exclude author) background.add_task( notify_openclaw, - session, NotifyContext( - event="comment.created", actor_employee_id=actor_employee_id, task=task, comment=c + event="comment.created", + actor_employee_id=actor_employee_id, + task_id=task.id, + comment_id=c.id, ), )