Skip to content

Commit

Permalink
Merge pull request #6 from yuki-wtf/update-console-log
Browse files Browse the repository at this point in the history
Add logs to updatePendingMints
  • Loading branch information
lorcan-codes authored Jan 29, 2024
2 parents 132a3b0 + 7baa983 commit 63291e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions indexer/src/indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ const updatePendingMints = async () => {
const pendingMints = await AppDataSource.manager.find(
Mints
)
if(pendingMints.length === 0){
console.log("No pending mints")
return;
}else {
console.log("Found pending mints", pendingMints.length)
}

for (let mint in pendingMints) {
const mintDetail = pendingMints[mint];
Expand Down

0 comments on commit 63291e0

Please sign in to comment.