Skip to content
Snippets Groups Projects
Unverified Commit 8fd2cc54 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix type of conversation ID in conversations API (#8961)

parent ef43f1d2
Branches
Tags
No related merge requests found
......@@ -4,4 +4,8 @@ class REST::ConversationSerializer < ActiveModel::Serializer
attribute :id
has_many :participant_accounts, key: :accounts, serializer: REST::AccountSerializer
has_one :last_status, serializer: REST::StatusSerializer
def id
object.id.to_s
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment