File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
java/org/prebid/server/bidder/smarthub
resources/static/bidder-params Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1111import io .vertx .core .MultiMap ;
1212import io .vertx .core .http .HttpMethod ;
1313import org .apache .commons .collections4 .CollectionUtils ;
14+ import org .apache .commons .lang3 .StringUtils ;
1415import org .prebid .server .bidder .Bidder ;
1516import org .prebid .server .bidder .model .BidderBid ;
1617import org .prebid .server .bidder .model .BidderCall ;
@@ -67,7 +68,7 @@ private MultiMap resolveHeaders() {
6768 }
6869
6970 private String buildEndpointUrl (ExtImpSmarthub extImpSmarthub ) {
70- return endpointTemplate .replace ("{{Host}}" , extImpSmarthub .getPartnerName ())
71+ return endpointTemplate .replace ("{{Host}}" , StringUtils . defaultString ( extImpSmarthub .getPartnerName () ))
7172 .replace ("{{AccountID}}" , extImpSmarthub .getSeat ())
7273 .replace ("{{SourceId}}" , extImpSmarthub .getToken ());
7374 }
Original file line number Diff line number Diff line change 66 "properties" : {
77 "partnerName" : {
88 "type" : " string" ,
9- "description" : " Attekmi (formerly SmartHub) unique partner name" ,
10- "minLength" : 1
9+ "description" : " Attekmi (formerly SmartHub) unique partner name"
1110 },
1211 "seat" : {
1312 "type" : " string" ,
2120 }
2221 },
2322 "required" : [
24- " partnerName" ,
2523 " seat" ,
2624 " token"
2725 ]
You can’t perform that action at this time.
0 commit comments