diff options
author | sue445 <sue445@sue445.net> | 2017-08-02 15:18:17 +0900 |
---|---|---|
committer | sue445 <sue445@sue445.net> | 2017-08-02 16:07:50 +0900 |
commit | 24704acc77ebc85d653fc22d3fe9c7e5eb2a707d (patch) | |
tree | eb46a3589d363d4772890ceed3914c1fbc784a36 /lib | |
parent | 886b0744949c9d10c21e39e192a0ec48c206fb40 (diff) | |
download | gitlab-ce-24704acc77ebc85d653fc22d3fe9c7e5eb2a707d.tar.gz |
Expose target_iid in Events API
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 5cdc441e8cb..0a71c976c7e 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -483,7 +483,7 @@ module API class Event < Grape::Entity expose :title, :project_id, :action_name - expose :target_id, :target_type, :author_id + expose :target_id, :target_iid, :target_type, :author_id expose :data, :target_title expose :created_at expose :note, using: Entities::Note, if: ->(event, options) { event.note? } |