Skip to content

Commit

Permalink
Include contributorInformation in Hypermedia API, so that we can pull…
Browse files Browse the repository at this point in the history
… contributor images easily in flexible-content, for use in the multi-byline element
  • Loading branch information
rhystmills committed Sep 6, 2024
1 parent e2462c4 commit 6f30f2a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/model/TagEntity.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ case class TagEntity(
path: String,
subType: Option[String],
adBlockingLevel: Option[BlockingLevel],
contributionBlockingLevel: Option[BlockingLevel]
contributionBlockingLevel: Option[BlockingLevel],
contributorInformation: Option[ContributorInformation] = None,
)

object TagEntity {
Expand Down Expand Up @@ -54,7 +55,8 @@ object TagEntity {
tag.path,
subtype,
tag.adBlockingLevel,
tag.contributionBlockingLevel
tag.contributionBlockingLevel,
tag.contributorInformation
)
}

Expand Down

0 comments on commit 6f30f2a

Please sign in to comment.