Skip to content

Commit

Permalink
Insticator Bid adapter: fix User ID cookie expiration time (#8924)
Browse files Browse the repository at this point in the history
Co-authored-by: Artur Nabiullin <[email protected]>
  • Loading branch information
zyk70n and Artur Nabiullin authored Aug 30, 2022
1 parent ad16174 commit 7dfeed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/insticatorBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function setUserId(userId) {
}

if (storage.cookiesAreEnabled()) {
const expires = new Date(Date.now() + USER_ID_COOKIE_EXP).toISOString();
const expires = new Date(Date.now() + USER_ID_COOKIE_EXP).toUTCString();
storage.setCookie(USER_ID_KEY, userId, expires);
}
}
Expand Down

0 comments on commit 7dfeed5

Please sign in to comment.