diff --git a/kitsune/notifications/api.py b/kitsune/notifications/api.py index d205da39616..0f17b7f29d8 100644 --- a/kitsune/notifications/api.py +++ b/kitsune/notifications/api.py @@ -32,13 +32,13 @@ class NotificationSerializer(serializers.ModelSerializer): class Meta: model = PushNotificationRegistration fields = ( + 'action_object', + 'actor', + 'id', 'is_read', - # 'read_at', + 'target', 'timestamp', - 'actor', 'verb', - 'action_object', - 'target' ) @@ -81,6 +81,7 @@ class Meta: model = PushNotificationRegistration fields = ( 'creator', + 'id', 'push_url', )