Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardocustodio committed Feb 5, 2025
1 parent fa534b8 commit 2d657d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mappings/multiTokens/events/token_created.ts
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,10 @@ export async function tokenCreated(
skipSave: boolean
): Promise<EventModel | undefined> {
const eventData = getEventData(item)
console.log(eventData)

Check warning on line 710 in src/mappings/multiTokens/events/token_created.ts

View workflow job for this annotation

GitHub Actions / Code Standard & Format

Unexpected console statement
if (!eventData) return undefined

console.log(`Token ${eventData.collectionId}-${eventData.tokenId} created`)

Check warning on line 713 in src/mappings/multiTokens/events/token_created.ts

View workflow job for this annotation

GitHub Actions / Code Standard & Format

Unexpected console statement
if (skipSave && item.call) {
const token = await ctx.store.findOne(Token, {
where: { id: `${eventData.collectionId}-${eventData.tokenId}` },
Expand Down

0 comments on commit 2d657d5

Please sign in to comment.