Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
EjembiEmmanuel committed Dec 17, 2024
1 parent 03dfb70 commit 42ebfa4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/token-giver-indexer/token-giver-indexer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ export class TokenGiverIndexerService {
):
this.handleDonationReceivedEvent(event);
break;
case validateAndParseAddress(
hash.getSelectorFromName(
constants.event_names.DEPLOYED_TOKEN_GIVER_NFT,
),
):
this.handleDeployedTokenGiverNftEvent(event);
break;
default:
this.logger.warn(`Unknown event type: ${eventKey}`);
}
Expand Down Expand Up @@ -121,7 +128,6 @@ export class TokenGiverIndexerService {
where: { id: campaignId },
data: {
token_giver_nft_contract_address: tokenGiverNftContractAddress,
createdAt: new Date(),
},
});
}
Expand Down

0 comments on commit 42ebfa4

Please sign in to comment.