Skip to content

Commit

Permalink
Merge pull request #4184 from evanrolfe/fix/event_request_create_payload
Browse files Browse the repository at this point in the history
[webui][api] Make description a shortenable key for events.
  • Loading branch information
Evan Rolfe committed Dec 5, 2017
2 parents 632811a + c340154 commit b62ee60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/app/models/event/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ class Event::Request < ::Event::Base
self.description = 'Request was updated'
self.abstract_class = true
payload_keys :author, :comment, :description, :number, :actions, :state, :when, :who
shortenable_key :description

DiffLimit = 120

Expand Down

0 comments on commit b62ee60

Please sign in to comment.