Add most_recent_notification_id
to NotificationGroup
(#30707)
This commit is contained in:
parent
b5d1d48266
commit
8eb27c60e1
2 changed files with 8 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class REST::NotificationGroupSerializer < ActiveModel::Serializer
|
||||
attributes :group_key, :notifications_count, :type
|
||||
attributes :group_key, :notifications_count, :type, :most_recent_notification_id
|
||||
|
||||
attribute :page_min_id, if: :paginated?
|
||||
attribute :page_max_id, if: :paginated?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue