| 128 | } |
| 129 | |
| 130 | const success = nameMap => { |
| 131 | // it seems to be fix that could go to both |
| 132 | this.nameMap = nameMap |
| 133 | if (this.destroyed) { return } |
| 134 | for (challenger of _.values(this.challengers)) { |
| 135 | challenger.opponentName = this.nameMap[challenger.opponentID]?.fullName || this.nameMap[challenger.opponentID]?.name || 'Anonymous' |
| 136 | challenger.opponentWizard = this.nameMap[challenger.opponentID]?.wizard || {} |
| 137 | } |
| 138 | return this.checkWizardLoaded() |
| 139 | } |
| 140 | |
| 141 | const data = { ids, wizard: true } |
| 142 | if (this.options.league) { |
nothing calls this directly
no test coverage detected