Skip to content

Commit

Permalink
Minor nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelnindodev committed Oct 7, 2023
1 parent 85ca613 commit b29d77a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/parsers/betika/parser_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function processBetikaTwoWayGamesHtml(html: string): Result<any[], Error>
league: $(element).find("div.teams-info-meta.big-screen > div.teams-info-meta-left").text().trim(),
oddsAWin: Number($(clubsAndOdds).find("button.match-odd.odd1 > div.odds__value").text().trim()),
oddsBWin: Number($(clubsAndOdds).find("button.match-odd.odd2 > div.odds__value").text().trim()),
link: $(clubsAndOdds).find("div.teams-info-vert-left > a").attr("href"),
link: $(clubsAndOdds).find("div.teams-info-vert-left > a").attr("href")
});
});
return {result: "success", value: gameEvents};
Expand All @@ -50,7 +50,7 @@ export function processBetikaThreeWayGamesHtml(html: string): Result<any[], Erro
oddsAWin: Number($(clubsAndOdds).find("button.match-odd.odd1 > div.odds__value").text().trim()),
oddsDraw: Number($(clubsAndOdds).find("button.match-odd.odd2 > div.odds__value").text().trim()),
oddsBWin: Number($(clubsAndOdds).find("button.match-odd.odd3 > div.odds__value").text().trim()),
link: $(clubsAndOdds).find("div.teams-info-vert-left > a").attr("href"),
link: $(clubsAndOdds).find("div.teams-info-vert-left > a").attr("href")
});
});
return {result: "success", value: gameEvents};
Expand Down

0 comments on commit b29d77a

Please sign in to comment.