Skip to content

Commit

Permalink
make getbuilder() public
Browse files Browse the repository at this point in the history
  • Loading branch information
AvinashKapre committed Oct 25, 2023
1 parent 976a269 commit 362911a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/pubmatic/openwrap/adapters/bidders.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func PrepareBidParamJSONForPartner(width *int64, height *int64, fieldMap map[str
}

//get callback function and execute it
callback := getBuilder(params.AdapterName)
callback := GetBuilder(params.AdapterName)
return callback(params)
}

Expand Down
2 changes: 1 addition & 1 deletion modules/pubmatic/openwrap/adapters/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func initBidderBuilderFactory() {
}

// getBuilder will return core bidder hard coded builder, if not found then returns default builder
func getBuilder(adapterName string) builder {
func GetBuilder(adapterName string) builder {
//resolve hardcoded bidder alias
adapterName = ResolveOWBidder(adapterName)

Expand Down
2 changes: 1 addition & 1 deletion modules/pubmatic/openwrap/adapters/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func FixBidderParams(reqID, adapterName, bidderCode string, ext json.RawMessage)
fieldMap := convertExtToFieldMap(bidderCode, ext)

//get callback function and execute it
callback := getBuilder(adapterName)
callback := GetBuilder(adapterName)

//executing callback function
return callback(BidderParameters{
Expand Down

0 comments on commit 362911a

Please sign in to comment.