From 33c1e2858e667e6591996f4451cb01b9e99a87db Mon Sep 17 00:00:00 2001 From: Bei Li <6008854+li-bei@users.noreply.github.com> Date: Fri, 12 Apr 2024 10:47:01 +0900 Subject: [PATCH] Add :display_name --- app/serializers/web/notification_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/web/notification_serializer.rb b/app/serializers/web/notification_serializer.rb index 421e84cbb4..6acc7a4ac7 100644 --- a/app/serializers/web/notification_serializer.rb +++ b/app/serializers/web/notification_serializer.rb @@ -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