mirror of
https://github.com/mastodon/mastodon.git
synced 2025-06-18 02:59:15 +00:00
10 lines
215 B
Ruby
10 lines
215 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::Shallow::AccountWarningSerializer < REST::BaseAccountWarningSerializer
|
|
attribute :target_account_id
|
|
|
|
def target_account_id
|
|
object.target_account_id&.to_s
|
|
end
|
|
end
|