update trophy icons - for #9136

pull/9180/head
Thibault Duplessis 2021-06-14 09:26:27 +02:00
parent e4db7c25e6
commit 5a9261ed2c
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
const newIcons = {
wayOfBerserk: '',
marathonWinner: '',
marathonTopTen: '',
marathonTopFifty: '',
marathonTopHundred: '',
developer: '',
moderator: '',
verified: '',
};
Object.keys(newIcons).forEach(id => db.trophyKind.update({ _id: id }, { $set: { icon: newIcons[id] } }));