mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-18 18:39:04 +01:00
12 lines
267 B
Text
12 lines
267 B
Text
|
object @notification
|
||
|
|
||
|
attributes :id, :type
|
||
|
|
||
|
child from_account: :account do
|
||
|
extends 'api/v1/accounts/show'
|
||
|
end
|
||
|
|
||
|
node(:status, if: lambda { |n| [:favourite, :reblog, :mention].include?(n.type) }) do |n|
|
||
|
partial 'api/v1/statuses/show', object: n.target_status
|
||
|
end
|