mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FEATURE: add seen_notification_id to current user serializer
This commit is contained in:
parent
6162768a3b
commit
24401e71bf
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ class CurrentUserSerializer < BasicUserSerializer
|
||||||
:read_faq,
|
:read_faq,
|
||||||
:automatically_unpin_topics,
|
:automatically_unpin_topics,
|
||||||
:mailing_list_mode,
|
:mailing_list_mode,
|
||||||
:previous_visit_at
|
:previous_visit_at,
|
||||||
|
:seen_notification_id
|
||||||
|
|
||||||
def include_site_flagged_posts_count?
|
def include_site_flagged_posts_count?
|
||||||
object.staff?
|
object.staff?
|
||||||
|
|
Loading…
Reference in a new issue