Skip to content

Commit

Permalink
fix: fix withSetsNumericTraits null issue
Browse files Browse the repository at this point in the history
  • Loading branch information
orionstardust committed Oct 23, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 20153a1 commit 3762a4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mappings/diamond.ts
Original file line number Diff line number Diff line change
@@ -1126,6 +1126,9 @@ export function handleGotchiLendingAdded(event: GotchiLendingAdded): void {
}
}
let gotchi = getOrCreateAavegotchi(event.params.tokenId.toString(), event)!;
if (!gotchi.modifiedRarityScore) {
gotchi = updateAavegotchiInfo(gotchi, event.params.tokenId, event);
}
gotchi.lending = BigInt.fromString(lending.id);
gotchi.save();

0 comments on commit 3762a4c

Please sign in to comment.