Skip to content

Commit

Permalink
Updating send json userids to endpoint in idLibrary (#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
SKOCHERI and skocheri authored Jan 26, 2021
1 parent 534db98 commit 86bdc03
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 86bdc03

Please sign in to comment.