Skip to content

Commit

Permalink
imds: shorten some lines longer than 120 characters to get builds to …
Browse files Browse the repository at this point in the history
…pass
  • Loading branch information
ecammit committed Jun 7, 2023
1 parent 741390c commit f787032
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/org/prebid/server/bidder/imds/ImdsBidder.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,11 @@ public Result<List<HttpRequest<BidRequest>>> makeHttpRequests(BidRequest bidRequ
return Result.of(Collections.singletonList(
BidderUtil.defaultRequest(
outgoingRequest,
endpointUrl.replaceAll("\\{\\{AccountID}}", URLEncoder.encode(firstExtImp.getSeatId(), StandardCharsets.UTF_8))
.replaceAll("\\{\\{SourceId}}", URLEncoder.encode(prebidVersion, StandardCharsets.UTF_8)),
endpointUrl
.replaceAll("\\{\\{AccountID}}",
URLEncoder.encode(firstExtImp.getSeatId(), StandardCharsets.UTF_8))
.replaceAll("\\{\\{SourceId}}",
URLEncoder.encode(prebidVersion, StandardCharsets.UTF_8)),
mapper)),
errors);
}
Expand Down

0 comments on commit f787032

Please sign in to comment.