mirror of https://github.com/mastodon/mastodon
Add :display_name
This commit is contained in:
parent
d56ae18243
commit
33c1e2858e
|
@ -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 New Issue