about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-09-21 23:06:20 -0500
committerFire Demon <firedemon@creature.cafe>2020-09-21 23:06:20 -0500
commit14ab244bacab1649f344b08d6898eccccea45311 (patch)
treec71259666d9d0aa79624229901a6c3b7eb3f04bc /app
parent072a3c5b7b81b3a85bccefc6c78ea4561780bec9 (diff)
Expose reblogs attribute to Lists API
Diffstat (limited to 'app')
-rw-r--r--app/serializers/rest/list_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/list_serializer.rb b/app/serializers/rest/list_serializer.rb
index 3e87f7119..45c8dca67 100644
--- a/app/serializers/rest/list_serializer.rb
+++ b/app/serializers/rest/list_serializer.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 class REST::ListSerializer < ActiveModel::Serializer
-  attributes :id, :title, :replies_policy
+  attributes :id, :title, :replies_policy, :reblogs
 
   def id
     object.id.to_s