Skip to content

Commit

Permalink
Merge pull request #3 from VaporFi/fix/user-history-indexing
Browse files Browse the repository at this point in the history
fix: user data indexer
  • Loading branch information
mejiasd3v authored Mar 19, 2024
2 parents cfe9652 + d7aae42 commit 47c6ee3
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 47c6ee3

Please sign in to comment.