mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 04:47:27 +00:00
fix: oopsie
This commit is contained in:
parent
bd21281787
commit
aacf64c6f7
1 changed files with 2 additions and 2 deletions
|
|
@ -45,14 +45,14 @@ export default class SummonersController {
|
|||
const summonerDB = await Summoner.firstOrCreate({ puuid: account.puuid })
|
||||
|
||||
const [names, seasons, gamemodes, current, ranked, recentActivity] = await Promise.all([
|
||||
await SummonerService.getAllSummonerNames(account, summonerDB),
|
||||
SummonerService.getAllSummonerNames(account, summonerDB),
|
||||
this.getSeasons(account.puuid),
|
||||
MatchRepository.gamemodes(account.puuid),
|
||||
Jax.Spectator.summonerID(account.id, region),
|
||||
SummonerService.getRanked(account.id, region),
|
||||
MatchRepository.recentActivity(account.puuid),
|
||||
// Only last 100 matchIds in matchlist
|
||||
await MatchService.updateMatchList(account.puuid, region, MatchListMode.LIGHT),
|
||||
MatchService.updateMatchList(account.puuid, region, MatchListMode.LIGHT),
|
||||
])
|
||||
|
||||
// Add job in 1sec to load entire matchlist in DB (in background)
|
||||
|
|
|
|||
Loading…
Reference in a new issue