diff --git a/app/views/notifications/_notification.json.jbuilder b/app/views/notifications/_notification.json.jbuilder index 5673097a7..d4dce9fff 100644 --- a/app/views/notifications/_notification.json.jbuilder +++ b/app/views/notifications/_notification.json.jbuilder @@ -3,6 +3,7 @@ json.cache! notification do json.read notification.read? json.read_at notification.read_at&.utc json.created_at notification.created_at.utc + json.source_type notification.source_type.underscore json.partial! "notifications/notification/#{notification.source_type.underscore}/body", notification: notification