Skip to content

Commit

Permalink
Expose conversation_id on statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEssem committed Jan 7, 2024
1 parent 063d10f commit 34db0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/serializers/rest/status_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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, :edited_at
:favourites_count, :edited_at, :conversation_id

attribute :favourited, if: :current_user?
attribute :reblogged, if: :current_user?
Expand Down

0 comments on commit 34db0c7

Please sign in to comment.