feat: Portals store integration (#5185)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
json.id article.id
|
||||
json.category_id article.category_id
|
||||
json.title article.title
|
||||
json.content article.content
|
||||
json.description article.description
|
||||
@@ -7,6 +6,11 @@ json.status article.status
|
||||
json.account_id article.account_id
|
||||
json.updated_at article.updated_at.to_i
|
||||
|
||||
json.category do
|
||||
json.id article.category_id
|
||||
json.name article.category.name
|
||||
end
|
||||
|
||||
if article.portal.present?
|
||||
json.portal do
|
||||
json.partial! 'api/v1/accounts/portals/portal.json.jbuilder', portal: article.portal
|
||||
|
||||
Reference in New Issue
Block a user