Skip to content

Commit

Permalink
Merge pull request #4335 from guardian/an/pa-credit-processor
Browse files Browse the repository at this point in the history
supplier-processors: normalize PA credit to PA
  • Loading branch information
andrew-nowak authored Sep 26, 2024
2 parents ac6342c + 583a00d commit 7ef9581
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,12 @@ object PaParser extends ImageProcessor {
paCredits.contains(creditOrSource.toLowerCase)
}
if (isPa) {
image.copy(usageRights = Agency("PA"))
image.copy(
usageRights = Agency("PA"),
metadata = image.metadata.copy(
credit = Some("PA")
)
)
} else image
}
}
Expand Down

0 comments on commit 7ef9581

Please sign in to comment.