Skip to content

Commit

Permalink
Updating send json userids to endpoint in idLibrary (prebid#6219)
Browse files Browse the repository at this point in the history
* Updating send json userids

* Updating send json userids

* Updating send json userids

* Updating string user ids to json

Co-authored-by: skocheri <skocheri@rubiconproject.com>
  • Loading branch information
2 people authored and stsepelin committed May 28, 2021
1 parent 413168e commit 0544f92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/idLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ function postData() {
logInfo('No user ids');
return;
}
logInfo('Users' + JSON.stringify(userIds));
logInfo('Users' + userIds);
const syncPayload = {};
syncPayload.hid = MD5(email).toString();
syncPayload.uids = JSON.stringify(userIds);
syncPayload.uids = userIds;
const payloadString = JSON.stringify(syncPayload);
logInfo(payloadString);
ajax(conf.url, syncCallback(), payloadString, {method: 'POST', withCredentials: true});
Expand Down

0 comments on commit 0544f92

Please sign in to comment.