From aacf64c6f737509730911d5716daffd46ed95f23 Mon Sep 17 00:00:00 2001 From: Valentin Kaelin Date: Wed, 27 Sep 2023 01:24:59 +0200 Subject: [PATCH] fix: oopsie --- server/app/Controllers/Http/SummonersController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/app/Controllers/Http/SummonersController.ts b/server/app/Controllers/Http/SummonersController.ts index 8530f79..04f47fd 100644 --- a/server/app/Controllers/Http/SummonersController.ts +++ b/server/app/Controllers/Http/SummonersController.ts @@ -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)