Skip to content

Commit

Permalink
Update example in fledgeForGpt.md (#4818)
Browse files Browse the repository at this point in the history
Update variable names in example to work with updated fledge module
  • Loading branch information
wsusrasp authored Aug 24, 2023
1 parent 7bd8c87 commit e8cbe91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-docs/modules/fledgeForGpt.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ function interpretResponse(resp, req) {
const bids = parseBids(resp);

// Load the auctionConfigs from the response - also adapter specific
const auctionConfigs = parseAuctionConfigs(resp);
const fledgeAuctionConfigs = parseAuctionConfigs(resp);

if (auctionConfigs) {
if (fledgeAuctionConfigs) {
// Return a tuple of bids and auctionConfigs. It is possible that bids could be null.
return {bids, fledgeAuctionConfigs};
} else {
Expand Down

0 comments on commit e8cbe91

Please sign in to comment.