From 642793e412573b19fd559a82576aa7e2f637998f Mon Sep 17 00:00:00 2001 From: Fire Demon <firedemon@creature.cafe> Date: Sun, 19 Jul 2020 14:02:00 -0500 Subject: [Revise] Move :nest_level to Monsterfork attributes --- app/serializers/rest/status_serializer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/serializers/rest') diff --git a/app/serializers/rest/status_serializer.rb b/app/serializers/rest/status_serializer.rb index 6baa20ca9..b5650544f 100644 --- a/app/serializers/rest/status_serializer.rb +++ b/app/serializers/rest/status_serializer.rb @@ -4,10 +4,10 @@ class REST::StatusSerializer < ActiveModel::Serializer attributes :id, :created_at, :in_reply_to_id, :in_reply_to_account_id, :sensitive, :spoiler_text, :visibility, :language, :uri, :url, :replies_count, :reblogs_count, - :favourites_count, :nest_level + :favourites_count # Monsterfork additions - attributes :updated_at, :edited + attributes :updated_at, :edited, :nest_level attribute :favourited, if: :current_user? attribute :reblogged, if: :current_user? -- cgit