Skip to content

Commit

Permalink
Missena Bid Adapter - allow custom endpoint. (#8222)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdamoc authored Mar 30, 2022
1 parent 4a9ccb8 commit 972ead0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/missenaBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export const spec = {
payload.consent_string = bidderRequest.gdprConsent.consentString;
payload.consent_required = bidderRequest.gdprConsent.gdprApplies;
}

const baseUrl = bidRequest.params.baseUrl || ENDPOINT_URL;
return {
method: 'POST',
url: ENDPOINT_URL + '?' + formatQS({ t: bidRequest.params.apiKey }),
url: baseUrl + '?' + formatQS({ t: bidRequest.params.apiKey }),
data: JSON.stringify(payload),
};
});
Expand Down

0 comments on commit 972ead0

Please sign in to comment.