Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
[Fix] LolGame init db
Browse files Browse the repository at this point in the history
  • Loading branch information
M0NsTeRRR committed Jan 5, 2023
1 parent 5ebace4 commit f967ed6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions les_stats/client_api/riot.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from les_stats.models.internal.event import Event
from les_stats.models.internal.stage import Stage
from les_stats.models.internal.tournament import Tournament
from les_stats.models.lol.game import LolGame
from les_stats.models.tft.game import (
TFTAugment,
TFTCompanion,
Expand Down Expand Up @@ -112,10 +113,10 @@ async def save_lol_games(
async def update_lol_games(
self, matches: List[GameSaveIn_Pydantic]
) -> List[DataResponse]:
raise NotImplementedError
return await self._update_games(matches, LolGame)

async def delete_lol_games(self, matches_id: List[str]) -> List[DataResponse]:
raise NotImplementedError
return await self._delete_games(matches_id, LolGame)

async def save_tft_games(
self,
Expand Down
1 change: 1 addition & 0 deletions les_stats/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from les_stats.models.internal.event import Event
from les_stats.models.internal.stage import Stage
from les_stats.models.internal.tournament import Tournament
from les_stats.models.lol.game import LolGame
from les_stats.models.tft.game import (
TFTAugment,
TFTCompanion,
Expand Down

0 comments on commit f967ed6

Please # to comment.