Skip to content

Commit

Permalink
Adding the fix : UserId Module - Updated correct variable name while …
Browse files Browse the repository at this point in the history
…setting cookie prebid#9234
  • Loading branch information
pm-priyanka-deshmane committed Nov 16, 2022
1 parent 402a0b0 commit 35afca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/userId/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export function setStoredValue(submodule, value) {
const valueStr = isPlainObject(value) ? JSON.stringify(value) : value;
if (storage.type === COOKIE) {
const setCookie = cookieSetter(submodule);
setCookie(null, value, expiresStr);
setCookie(null, valueStr, expiresStr);
if (typeof storage.refreshInSeconds === 'number') {
setCookie('_last', new Date().toUTCString(), expiresStr);
}
Expand Down

0 comments on commit 35afca8

Please sign in to comment.