Skip to content

Commit

Permalink
fix: change searchText on estate update
Browse files Browse the repository at this point in the history
  • Loading branch information
Melisa Anabella Rossi committed Nov 16, 2023
1 parent c5f38bb commit 7dd36fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions indexer/src/handlers/estate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export function handleUpdate(event: Update): void {

let nft = new NFT(id)
nft.name = estateData.name
nft.searchText = toLowerCase(estateData.name)
nft.updatedAt = event.block.timestamp
nft.save()
}
Expand Down

0 comments on commit 7dd36fa

Please sign in to comment.