about summary refs log tree commit diff
path: root/app/serializers/web/notification_serializer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/web/notification_serializer.rb')
-rw-r--r--app/serializers/web/notification_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/web/notification_serializer.rb b/app/serializers/web/notification_serializer.rb
index 21a09f01e..e5524fe7a 100644
--- a/app/serializers/web/notification_serializer.rb
+++ b/app/serializers/web/notification_serializer.rb
@@ -121,7 +121,7 @@ class Web::NotificationSerializer < ActiveModel::Serializer
   attributes :title, :image, :badge, :tag,
              :timestamp, :icon
 
-  has_one :data
+  has_one :data, serializer: DataSerializer
 
   def title
     case object.type