Skip to content

Commit

Permalink
fix comment on function
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Nasti committed Jul 25, 2022
1 parent 3479bf1 commit 1155c10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,11 +681,11 @@ function toLegacyResponse(ortbResponse, ortbRequest) {
}

/**
* Converts an OpenRTB request to a proprietary Prebid.js format.
* Converts a Legacy native request to OpenRTB.
* The proprietary Prebid format has many limitations and will be dropped in
* the future; adapters are encouraged to stop using it in favour of OpenRTB format.
* @param {BidRequest[]} bidRequests an array of valid bid requests
* @returns an array of valid bid requests where the openRTB bids are converted to proprietary format.
* @returns an array of valid bid requests where the legacy format is converted to OpenRTB.
*/
export function convertLegacyNativeRequestToOrtb(bidRequests) {
if (!bidRequests || !isArray(bidRequests)) return bidRequests;
Expand Down

0 comments on commit 1155c10

Please sign in to comment.