Skip to content

Commit

Permalink
fix: Update item field updatedAt when events transferCreatorship
Browse files Browse the repository at this point in the history
  • Loading branch information
cyaiox committed Jan 31, 2025
1 parent dc58025 commit 303ba7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handlers/collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ export function handleTransferCreatorship(event: CreatorshipTransferred): void {
let item = Item.load(itemId)
if (item != null) {
item.creator = newCreator
item.updatedAt = event.block.timestamp
item.save()
}
}
Expand Down

0 comments on commit 303ba7e

Please sign in to comment.