Skip to content

Commit

Permalink
Fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel committed Sep 27, 2023
1 parent 9ec7624 commit bf50031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud_functions/src/alarmMissingVaas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async function getGovernedVaas(): Promise<GovernedVAAMap> {
assertEnvironmentVariable('FIRESTORE_GOVERNOR_STATUS_COLLECTION')
);
const snapshot = await collection.get();
snapshot.forEach(async (doc) => {
for (const doc of snapshot.docs) {
const data = doc.data();
if (data) {
// data should be a ChainStatus[]
Expand Down Expand Up @@ -141,7 +141,7 @@ async function getGovernedVaas(): Promise<GovernedVAAMap> {
});
});
}
});
}
return vaas;
}

Expand Down

0 comments on commit bf50031

Please sign in to comment.