Skip to content

Commit

Permalink
fix: igdb 관련 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
2jun0 committed Mar 11, 2024
1 parent d2b9091 commit a2fbef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws_lambdas/game_updater/igdb/igdb_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def wrapper(_input: Sequence[int], **kwargs):
@cache
def _get_token():
res = requests.post(
"https://id.twitch.tv/oauth2/token",
"https://id.twitch.tv/oauth2/token"
f"?client_id={setting.IGDB_CLIENT_ID}&client_secret={setting.IGDB_CLIENT_SECRET}&grant_type=client_credentials",
)
token = res.json()["access_token"]
Expand Down
2 changes: 1 addition & 1 deletion aws_lambdas/game_updater/scraper/alias.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def _scrap_igdb_game_ids(steam_ids: Sequence[int]) -> dict[int, int]:
steam_games = igdb_api.get_games_batch(steam_ids)
steam_games = igdb_api.get_steam_games_batch(steam_ids)
return {int(g["uid"]): g["game"] for g in steam_games if "game" in g}


Expand Down

0 comments on commit a2fbef2

Please sign in to comment.