Fix fediverse:creator
metadata not showing up in REST API (#33466)
This commit is contained in:
parent
08dd11f8d4
commit
dbbf450ef5
2 changed files with 19 additions and 2 deletions
|
@ -170,7 +170,7 @@ class PreviewCard < ApplicationRecord
|
|||
private
|
||||
|
||||
def serialized_authors
|
||||
if author_name? || author_url?
|
||||
if author_name? || author_url? || author_account_id?
|
||||
PreviewCard::Author
|
||||
.new(self)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue