Skip to content

Commit

Permalink
add payload writer
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Oct 28, 2024
1 parent b5b3e20 commit f1a69aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/presenters/publishing_api/landing_page_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def document_type

def details
YAML.load(item.body, permitted_classes: [Date])
.merge(Image.for(item))
.merge(PayloadBuilder::Attachments.for(news_article))
end
end
end

0 comments on commit f1a69aa

Please sign in to comment.