Skip to content

Commit e408aa1

Browse files
author
Michele Nasti
committed
fix comment on function
1 parent 4e7acd8 commit e408aa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,11 +681,11 @@ function toLegacyResponse(ortbResponse, ortbRequest) {
681681
}
682682

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

0 commit comments

Comments
 (0)