Add lang
attribute to preview card (#23869)
This commit is contained in:
parent
19614ba247
commit
8000a8f230
2 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
class REST::PreviewCardSerializer < ActiveModel::Serializer
|
||||
include RoutingHelper
|
||||
|
||||
attributes :url, :title, :description, :type,
|
||||
attributes :url, :title, :description, :language, :type,
|
||||
:author_name, :author_url, :provider_name,
|
||||
:provider_url, :html, :width, :height,
|
||||
:image, :embed_url, :blurhash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue