🔇 Removed logs
This commit is contained in:
@@ -12,7 +12,6 @@ settings = settings()
|
|||||||
|
|
||||||
@sio.event
|
@sio.event
|
||||||
async def join_game(sid, data):
|
async def join_game(sid, data):
|
||||||
print(sid, data, "JOIN_GAME")
|
|
||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
try:
|
try:
|
||||||
async with session.post(
|
async with session.post(
|
||||||
@@ -21,10 +20,10 @@ async def join_game(sid, data):
|
|||||||
) as resp:
|
) as resp:
|
||||||
resp_data = await resp.json()
|
resp_data = await resp.json()
|
||||||
if not resp_data["success"]:
|
if not resp_data["success"]:
|
||||||
print("CAPTCHA FAILED", resp_data)
|
print("CAPTCHA FAILED")
|
||||||
return
|
return
|
||||||
except KeyError:
|
except KeyError:
|
||||||
print("CAPTCHA FAILED", "KeyError")
|
print("CAPTCHA FAILED")
|
||||||
|
|
||||||
return
|
return
|
||||||
redis_res = await redis.get(f"game:{data['game_pin']}")
|
redis_res = await redis.get(f"game:{data['game_pin']}")
|
||||||
|
|||||||
@@ -40,7 +40,6 @@
|
|||||||
}
|
}
|
||||||
is_loading = true;
|
is_loading = true;
|
||||||
const regex_res = kahoot_regex.exec(url_input);
|
const regex_res = kahoot_regex.exec(url_input);
|
||||||
console.log(regex_res);
|
|
||||||
console.log(url_valid, url_input);
|
console.log(url_valid, url_input);
|
||||||
const res = await fetch(`/api/v1/quiz/import/${regex_res[1]}`, {
|
const res = await fetch(`/api/v1/quiz/import/${regex_res[1]}`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|||||||
Reference in New Issue
Block a user