Change URL for events/notification_game.py

This commit is contained in:
Stefano Assenzo 2023-03-05 19:25:23 +01:00 committed by GitHub
parent da08250dbc
commit f1bf4a5d9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ def notification_game1(collection_game, collection_id, bot):
try:
print("Try to send first game")
url = "https://minty.apexie.eu/v1/epicfreegames"
url = "https://minty.apexie.dev/v1/epicfreegames"
response = requests.get(url).json()
#All information for first game
@ -78,4 +78,4 @@ def notification_game3(collection_game, collection_id, bot,):
sendata2 = collection_game.update_one({'_id':ObjectId(array_game3)}, {"$set": send_game3}, upsert=False)
except:
print("An error occurred")
recheck_game(collection_game=collection_game, collection_id=collection_id, bot=bot)
recheck_game(collection_game=collection_game, collection_id=collection_id, bot=bot)