Skip to content

Commit

Permalink
Merge pull request #4 from kodadot/i-can-surprise-myself
Browse files Browse the repository at this point in the history
🐛 forgot to update metadata
  • Loading branch information
vikiival authored May 10, 2023
2 parents 8ca6fe8 + 01c10fb commit 7c4cf35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ DB_NAME=squid
DB_PORT=23798
PROCESSOR_PROMETHEUS_PORT=3000
GQL_PORT=4350
SQD_DEBUG=squid:log
SQD_DEBUG=*
2 changes: 2 additions & 0 deletions src/mappings/uniques/setMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export async function handleMetadataSet(context: Context): Promise<void> {
return;
}

final.metadata = event.metadata;

if (final.metadata) {
const metadata = await handleMetadata(final.metadata, context.store);
final.meta = metadata;
Expand Down

0 comments on commit 7c4cf35

Please sign in to comment.