Add :display_name

This commit is contained in:
Bei Li 2024-04-12 10:47:01 +09:00
parent d56ae18243
commit 33c1e2858e
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class Web::NotificationSerializer < ActiveModel::Serializer
include ActionView::Helpers::SanitizeHelper
attributes :access_token, :preferred_locale, :notification_id,
:notification_type, :icon, :title, :body
:notification_type, :icon, :display_name, :title, :body
def access_token
current_push_subscription.associated_access_token