Skip to content

Commit

Permalink
Fix failed Test, compile in build
Browse files Browse the repository at this point in the history
  • Loading branch information
deedeeh committed Sep 19, 2024
1 parent e0d8de4 commit 98b7f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/app/common/dfp/SurveySponsorshipAgent.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ trait SurveySponsorshipAgent {
}

def hasSurveyAd(fullAdUnitPath: String, metadata: MetaData, request: RequestHeader): Boolean = {
if (metadata.contentType == Some(DotcomContentType.Article) && metadata.hasSurveyAd(request)) {
if (metadata.contentType == Some(DotcomContentType.Article)) {
val adTest = request.getQueryString("adtest")

findSponsorships(fullAdUnitPath, metadata, adTest).nonEmpty
Expand Down

0 comments on commit 98b7f17

Please sign in to comment.