mirror of
https://github.com/glitch-soc/mastodon
synced 2025-04-24 15:24:51 +00:00
9 lines
186 B
Ruby
9 lines
186 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::ShallowQuoteSerializer < REST::BaseQuoteSerializer
|
|
attribute :quoted_status_id
|
|
|
|
def quoted_status_id
|
|
quoted_status&.id&.to_s
|
|
end
|
|
end
|