about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-19 14:02:00 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:43:08 -0500
commit642793e412573b19fd559a82576aa7e2f637998f (patch)
treed32ed231ceccc9fd4ccbf57c4653630dd63da0ce
parent494f8726327ff17065a437f8d48eb848bab27d72 (diff)
[Revise] Move :nest_level to Monsterfork attributes
-rw-r--r--app/serializers/rest/status_serializer.rb4
1 files changed, 2 insertions, 2 deletions
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?