Skip to content

Commit

Permalink
Fix build after removing unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelnindodev committed Oct 31, 2023
1 parent 3f00e09 commit f50035c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/bet_providers/index.ts
Original file line number Diff line number Diff line change
@@ -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();
Expand Down
8 changes: 1 addition & 7 deletions src/bet_providers/orbit.ts
Original file line number Diff line number Diff line change
@@ -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
]
}
}
8 changes: 1 addition & 7 deletions src/bet_providers/sportpesa.ts
Original file line number Diff line number Diff line change
@@ -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
];
}
}

0 comments on commit f50035c

Please sign in to comment.