Skip to content

Commit

Permalink
fix: user data indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
royvardhan committed Mar 19, 2024
1 parent cfe9652 commit d7aae42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function getOrCreateUserData(

// Attempt to find existing user data
let userHistory = await UserHistory.findUnique({
id: address,
id: `${address}-${chainId}`,
});

// Retrieve the main wallet associated with the provided tokenId
Expand Down

0 comments on commit d7aae42

Please sign in to comment.