Skip to content

Commit

Permalink
fix mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdavinchee committed Dec 7, 2023
1 parent 7f2e5cf commit 8516ec6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/subgraph/src/mappings/flowNFT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { createEventID, initializeEventEntity } from "../utils";
export function handleApproval(event: Approval): void {
const eventId = createEventID("Approval", event);
const ev = new ApprovalEvent(eventId);
initializeEventEntity(ev, event, []);
ev.owner = event.params.owner.toHex();
ev.to = event.params.approved.toHex();
ev.tokenId = event.params.tokenId;
Expand Down

0 comments on commit 8516ec6

Please sign in to comment.