Skip to content

Commit

Permalink
Defined id
Browse files Browse the repository at this point in the history
  • Loading branch information
awisniew207 committed Sep 6, 2024
1 parent c15ddda commit 7516f2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/litAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ const _litActionCode = async () => {
}
console.log("Past Recent");

const userParam = urlParams.get('user');
const userData = JSON.parse(decodeURIComponent(userParam!));
const id = userData.id;
// Checking if usersAuthMethodId is a permitted Auth Method for pkpTokenId
const usersAuthMethodId = ethers.utils.keccak256(
ethers.utils.toUtf8Bytes(`telegram:${id}`)
Expand Down

0 comments on commit 7516f2a

Please sign in to comment.