Skip to content

Commit

Permalink
Send encoded URL key
Browse files Browse the repository at this point in the history
  • Loading branch information
ricealexanderb committed Jul 26, 2024
1 parent ae83b19 commit 0c571ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/BidMachineAdapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ final class BidMachineAdapter: PartnerAdapter {
return
}
log(.fetchBidderInfoSucceeded(request))
completion(["token": token])
// Backend will use a default URL if it receives an empty string in `encoded_key`
let encodedKey = BidMachineSdk.shared.extrasValue(by: "chartboost_encoded_url_key") as? String ?? ""
completion(["token": token, "encoded_key": encodedKey])
}
}

Expand Down

0 comments on commit 0c571ef

Please sign in to comment.