From 1f86897fe6d94c8531b203de6e34a4be6ac19261 Mon Sep 17 00:00:00 2001 From: Paulo Endoh Date: Thu, 19 Dec 2024 19:58:32 -0300 Subject: [PATCH] =?UTF-8?q?draft=20--=20al=C3=A9m=20de=20OP=20e=20DECENT,?= =?UTF-8?q?=20ter=20uma=20se=C3=A7=C3=A3o=20'PRACTICE=20RECOMMENDATION'=20?= =?UTF-8?q?[cm2uq4ihf002bvp0lwedfj5ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/domains/lolrates/lolRates/LolRatesController.ts | 2 +- src/types/domain/lolates/SkillLevelTypes.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/domains/lolrates/lolRates/LolRatesController.ts b/src/domains/lolrates/lolRates/LolRatesController.ts index 57c7daf..ce8fee9 100644 --- a/src/domains/lolrates/lolRates/LolRatesController.ts +++ b/src/domains/lolrates/lolRates/LolRatesController.ts @@ -10,7 +10,7 @@ export class LolRatesController { ) {} @Get("/lolRates") - async getDocs() { + async getLolRates() { const allWinrates = (await this.lolRateRepo.findWinrates()).map((item) => { let count = 0 if (item.uggWin) count++ diff --git a/src/types/domain/lolates/SkillLevelTypes.ts b/src/types/domain/lolates/SkillLevelTypes.ts index 0fb2c2d..163780d 100644 --- a/src/types/domain/lolates/SkillLevelTypes.ts +++ b/src/types/domain/lolates/SkillLevelTypes.ts @@ -1 +1,4 @@ -export type SkillLevelTypes = "OP" | "Decent/Practice"; +export type SkillLevelTypes = + | "OP" + | "Decent/Practice" + | "Training recommendation"