mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-08 20:33:07 +08:00
The `on_update` callback of triggers is called with previous fields and new fields, values. However since a recent change: https://github.com/discourse/discourse/pull/32810 this relationship is cached and would cause previous fields to equal new fields. This commit ensures we are refreshing the relationship before calling the `on_update` callback. |
||
|---|---|---|
| .. | ||
| controllers/discourse_automation | ||
| jobs | ||
| models/discourse_automation | ||
| serializers/discourse_automation | ||
| services/discourse_automation | ||