From f50035c406ca68351e0b7c76e71403a6e7fb9049 Mon Sep 17 00:00:00 2001 From: Nigel Nindo Date: Tue, 31 Oct 2023 08:46:07 +0300 Subject: [PATCH] Fix build after removing unused code --- src/bet_providers/index.ts | 2 +- src/bet_providers/orbit.ts | 8 +------- src/bet_providers/sportpesa.ts | 8 +------- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/bet_providers/index.ts b/src/bet_providers/index.ts index 5dc1c95..70cfc64 100644 --- a/src/bet_providers/index.ts +++ b/src/bet_providers/index.ts @@ -1,6 +1,6 @@ import { getConfig } from ".."; import { readFileAsync } from "../utils/file_system"; -import { BetProviderConfig, BetProviderGameConfig, BetProviders, Games } from "../utils/types/common"; +import { BetProviderConfig, BetProviderGameConfig, BetProviders } from "../utils/types/common"; import { Result } from "../utils/types/result_type"; const {logger} = getConfig(); diff --git a/src/bet_providers/orbit.ts b/src/bet_providers/orbit.ts index 88b0213..edf1982 100644 --- a/src/bet_providers/orbit.ts +++ b/src/bet_providers/orbit.ts @@ -1,14 +1,8 @@ import { BetProvider } from "."; -import { BetProviders, Games } from "../utils/types/common"; +import { BetProviders } from "../utils/types/common"; export class OrbitProvider extends BetProvider { constructor() { super(BetProviders.ORBIT, "src/config/orbit.json"); } - - override getSupportedGames(): Games[] { - return [ - Games.FOOTBALL - ] - } } diff --git a/src/bet_providers/sportpesa.ts b/src/bet_providers/sportpesa.ts index f6aa5da..e8f9e53 100644 --- a/src/bet_providers/sportpesa.ts +++ b/src/bet_providers/sportpesa.ts @@ -1,14 +1,8 @@ import { BetProvider } from "."; -import { BetProviders, Games } from "../utils/types/common"; +import { BetProviders } from "../utils/types/common"; export class SportPesaProvider extends BetProvider { constructor() { super(BetProviders.SPORTPESA, "src/config/sportpesa.json"); } - - override getSupportedGames(): Games[] { - return [ - Games.FOOTBALL - ]; - } }