fix nftUpdate critical bug (#534)

This commit is contained in:
Alex Coseru 2022-09-14 12:47:31 +03:00 committed by GitHub
parent 73089dacc3
commit 39b58ba8fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ export function handleTokenUriUpdate(event: TokenURIUpdate): void {
nftUpdate.timestamp = event.block.timestamp.toI32()
nftUpdate.tx = event.transaction.hash.toHex()
nftUpdate.block = event.block.number.toI32()
nftUpdate.assetState = nft.assetState
nftUpdate.save()
nft.save()
}