mirror of https://github.com/mastodon/mastodon
8 lines
327 B
Ruby
8 lines
327 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::DedupNotificationGroupSerializer < ActiveModel::Serializer
|
|
has_many :accounts, serializer: REST::Shallow::AccountSerializer
|
|
has_many :statuses, serializer: REST::Shallow::StatusSerializer
|
|
has_many :notification_groups, serializer: REST::Shallow::NotificationGroupSerializer
|
|
end
|