diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-01 12:09:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-01 12:09:43 +0300 |
commit | 5ffb2b7bcde1c76f939c5dca2ff65bac3404a88f (patch) | |
tree | cde2072e0ddb7f861014d0529c9e2f82040b3d5f /app/services/resource_events | |
parent | 7401c3a232003e3901010eccb4a31b7aa2741473 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/resource_events')
-rw-r--r-- | app/services/resource_events/base_change_timebox_service.rb | 2 | ||||
-rw-r--r-- | app/services/resource_events/change_labels_service.rb | 2 | ||||
-rw-r--r-- | app/services/resource_events/change_state_service.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/services/resource_events/base_change_timebox_service.rb b/app/services/resource_events/base_change_timebox_service.rb index ba7c9d90713..d0b0f635ed2 100644 --- a/app/services/resource_events/base_change_timebox_service.rb +++ b/app/services/resource_events/base_change_timebox_service.rb @@ -14,7 +14,7 @@ module ResourceEvents track_event - resource.expire_note_etag_cache + resource.broadcast_notes_changed end private diff --git a/app/services/resource_events/change_labels_service.rb b/app/services/resource_events/change_labels_service.rb index 69e68922b91..f0ebf7fb40b 100644 --- a/app/services/resource_events/change_labels_service.rb +++ b/app/services/resource_events/change_labels_service.rb @@ -31,7 +31,7 @@ module ResourceEvents end create_timeline_events_from(added_labels: added_labels, removed_labels: removed_labels) - resource.expire_note_etag_cache + resource.broadcast_notes_changed return unless resource.is_a?(Issue) diff --git a/app/services/resource_events/change_state_service.rb b/app/services/resource_events/change_state_service.rb index a396f7a1907..303d666c8e2 100644 --- a/app/services/resource_events/change_state_service.rb +++ b/app/services/resource_events/change_state_service.rb @@ -23,7 +23,7 @@ module ResourceEvents created_at: resource.system_note_timestamp ) - resource.expire_note_etag_cache + resource.broadcast_notes_changed end private |