diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-07-26 18:14:02 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-08-01 13:42:04 +0300 |
commit | 12095251c3777c5231cab97854d5dca69d31cc5d (patch) | |
tree | ebc87b5e48521c36f358cc9ade98563a8804417d /lib/api | |
parent | 78c6f9a2d6d3211402ca07813871c5b4f1a1dc57 (diff) |
Add the message HTML to the UserStatus api
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/entities.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index f5a22e76efe..efd148c1a7f 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -65,6 +65,9 @@ module API class UserStatus < Grape::Entity expose :emoji expose :message + expose :message_html do |entity| + MarkupHelper.markdown_field(entity, :message) + end end class Email < Grape::Entity |