Skip to content

Commit

Permalink
set-static-endpoint (#10396)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadlob committed Aug 28, 2023
1 parent 4576207 commit cc2b495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/taboolaBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const spec = {
}
};

const url = [END_POINT_URL, publisherId].join('/');
const url = END_POINT_URL + '?publisher=' + publisherId;

return {
url,
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/taboolaBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ describe('Taboola Adapter', function () {

const res = spec.buildRequests([defaultBidRequest], commonBidderRequest);

expect(res.url).to.equal(`${END_POINT_URL}/${commonBidRequest.params.publisherId}`);
expect(res.url).to.equal(`${END_POINT_URL}?publisher=${commonBidRequest.params.publisherId}`);
expect(res.data).to.deep.equal(JSON.stringify(expectedData));
});

Expand Down

0 comments on commit cc2b495

Please sign in to comment.