diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-05-15 15:11:45 +0000 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2017-05-16 14:12:19 +0200 |
commit | 1fd83f972cf5ce73b3e46fd2df5ffb07889b1fd1 (patch) | |
tree | 5ac1407d05f4ab5b70baa8db65944b44dc8198fd /lib/api/entities.rb | |
parent | bcc5135ba5c48130fc8afce035726057d0445e5b (diff) | |
download | gitlab-ce-cherry-pick-0663458c.tar.gz |
Merge branch 'bvl-rename-build-events-to-job-events' into 'master'
cherry-pick-0663458c
Rename `build_events` to `job_events`
Closes #31620
See merge request !11287
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 3fc2b453eb6..01cc8e8e1ca 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -60,7 +60,7 @@ module API class ProjectHook < Hook expose :project_id, :issues_events, :merge_requests_events expose :note_events, :pipeline_events, :wiki_page_events - expose :build_events, as: :job_events + expose :job_events end class BasicProjectDetails < Grape::Entity @@ -470,7 +470,7 @@ module API expose :id, :title, :created_at, :updated_at, :active expose :push_events, :issues_events, :merge_requests_events expose :tag_push_events, :note_events, :pipeline_events - expose :build_events, as: :job_events + expose :job_events # Expose serialized properties expose :properties do |service, options| field_names = service.fields. |