mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Add :display_name
This commit is contained in:
parent
d56ae18243
commit
33c1e2858e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class Web::NotificationSerializer < ActiveModel::Serializer
|
||||||
include ActionView::Helpers::SanitizeHelper
|
include ActionView::Helpers::SanitizeHelper
|
||||||
|
|
||||||
attributes :access_token, :preferred_locale, :notification_id,
|
attributes :access_token, :preferred_locale, :notification_id,
|
||||||
:notification_type, :icon, :title, :body
|
:notification_type, :icon, :display_name, :title, :body
|
||||||
|
|
||||||
def access_token
|
def access_token
|
||||||
current_push_subscription.associated_access_token
|
current_push_subscription.associated_access_token
|
||||||
|
|
Loading…
Reference in a new issue