Skip to content

Commit

Permalink
Update merkleIdSystem.js
Browse files Browse the repository at this point in the history
add consentData as param to getId
  • Loading branch information
angelamerkelprebid authored Aug 6, 2020
1 parent 3442c40 commit d52d905
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/merkleIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ export const merkleIdSubmodule = {
* performs action to obtain id and return a value in the callback's response argument
* @function
* @param {SubmoduleParams} [configParams]
* @param {ConsentData} [consentData]
* @returns {IdResponse|undefined}
*/
getId(configParams) {
getId(configParams, consentData) {
if (!configParams || typeof configParams.pubid !== 'string') {
utils.logError('User ID - merkleId submodule requires a valid pubid to be defined');
return;
Expand Down

0 comments on commit d52d905

Please sign in to comment.