Clear rewards (#3528)

This commit is contained in:
Bruce Berrios 2022-09-10 12:30:36 -04:00 committed by GitHub
parent ecfd7fd430
commit 7339ec7ce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -875,6 +875,7 @@ export async function updateInbox(
mail.read = true;
if (rewards.length > 0) {
allRewards.push(...rewards);
mail.rewards = [];
}
}