bb-plane-fork/apps
ouchan d94a269451
fix: add model_activity.delay() to API issue update/create paths for webhook dispatch (#8792)
Fixes #6746

API-driven issue updates (PUT update, PUT create-via-upsert, PATCH) were
missing `model_activity.delay()` calls, so webhooks were never dispatched
for changes made through the API. The web UI paths already include these
calls (e.g. in `post()` at L475), but the `put()` and `partial_update()`
methods only called `issue_activity.delay()`.

This adds `model_activity.delay()` immediately after each existing
`issue_activity.delay()` in these three code paths, using the same
signature as the existing call in `post()`.

Tested on Plane CE v1.2.1 self-hosted: API PATCH triggers
`webhook_send_task` in the Celery worker, confirming webhook delivery.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 13:31:16 +05:30
..
admin sync: master branch changes to preview 2026-03-25 13:21:43 +05:30
api fix: add model_activity.delay() to API issue update/create paths for webhook dispatch (#8792) 2026-03-25 13:31:16 +05:30
live sync: master branch changes to preview 2026-03-25 13:21:43 +05:30
proxy Merge branch 'canary' of github.com:makeplane/plane into preview 2025-12-12 13:42:48 +05:30
space sync: master branch changes to preview 2026-03-25 13:21:43 +05:30
web sync: master branch changes to preview 2026-03-25 13:21:43 +05:30