diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-09-21 23:06:20 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-09-21 23:06:20 -0500 |
commit | 14ab244bacab1649f344b08d6898eccccea45311 (patch) | |
tree | c71259666d9d0aa79624229901a6c3b7eb3f04bc /app | |
parent | 072a3c5b7b81b3a85bccefc6c78ea4561780bec9 (diff) |
Expose reblogs attribute to Lists API
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/rest/list_serializer.rb | 2 |
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 |