diff options
Diffstat (limited to 'lib/gitlab/issuable/clone/copy_resource_events_service.rb')
-rw-r--r-- | lib/gitlab/issuable/clone/copy_resource_events_service.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/issuable/clone/copy_resource_events_service.rb b/lib/gitlab/issuable/clone/copy_resource_events_service.rb index 563805fcb01..448ac4c2ae0 100644 --- a/lib/gitlab/issuable/clone/copy_resource_events_service.rb +++ b/lib/gitlab/issuable/clone/copy_resource_events_service.rb @@ -49,7 +49,7 @@ module Gitlab event.attributes .except(*blocked_state_event_attributes) .merge(entity_key => new_entity.id, - 'state' => ResourceStateEvent.states[event.state]) + 'state' => ResourceStateEvent.states[event.state]) end end @@ -62,9 +62,9 @@ module Gitlab event.attributes .except('id') .merge(entity_key => new_entity.id, - 'milestone_id' => milestone&.id, - 'action' => ResourceMilestoneEvent.actions[event.action], - 'state' => ResourceMilestoneEvent.states[event.state]) + 'milestone_id' => milestone&.id, + 'action' => ResourceMilestoneEvent.actions[event.action], + 'state' => ResourceMilestoneEvent.states[event.state]) end def copy_events(table_name, events_to_copy) |