logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 921cf3e9c8087ce0cd9923f40a8f9b565d07a146
parent: 7dc5035031a697e7a2726fcd787fc9c294751027
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Fri,  1 Sep 2017 20:50:42 +0200

Fix NoMethodError (#4762)


Diffstat:

Mapp/serializers/web/notification_serializer.rb4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/serializers/web/notification_serializer.rb b/app/serializers/web/notification_serializer.rb @@ -9,7 +9,7 @@ class Web::NotificationSerializer < ActiveModel::Serializer include ActionView::Helpers::SanitizeHelper attributes :content, :nsfw, :url, :actions, - :access_token, :message + :access_token, :message, :dir def content decoder.decode(strip_tags(body)) @@ -117,7 +117,7 @@ class Web::NotificationSerializer < ActiveModel::Serializer end end - attributes :title, :dir, :image, :badge, :tag, + attributes :title, :image, :badge, :tag, :timestamp, :icon has_one :data