Skip to content

Commit

Permalink
Merge pull request #845 from adobecom/MWPW-159560
Browse files Browse the repository at this point in the history
MWPW-159560
  • Loading branch information
Blainegunn authored Oct 3, 2024
2 parents cce90d6 + 2485637 commit 9a97c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acrobat/scripts/alloy/verb-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function init(eventName, verb, metaData) {
if (!arrayToken) return;
const tokenPayload = JSON.parse(atob(arrayToken[1]));
// eslint-disable-next-line consistent-return
return tokenPayload.sub;
return tokenPayload.sub || tokenPayload.user_id;
}
console.log(`📡 Event Name - acrobat:verb-${verb}:${eventName} - metaData: ${metaData?.type} / ${metaData?.size} `);
const event = {
Expand Down

0 comments on commit 9a97c77

Please sign in to comment.