Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,7 +66,7 @@ async def update_game_data(request: Request):
|
|
| 66 |
games[pin].update(data)
|
| 67 |
return {"success": True, "message": "Game updated successfully!"}
|
| 68 |
|
| 69 |
-
@app.
|
| 70 |
async def get_game_status(pin: str):
|
| 71 |
game = games.get(pin)
|
| 72 |
if not game:
|
|
|
|
| 66 |
games[pin].update(data)
|
| 67 |
return {"success": True, "message": "Game updated successfully!"}
|
| 68 |
|
| 69 |
+
@app.get("/api/getGameStatus")
|
| 70 |
async def get_game_status(pin: str):
|
| 71 |
game = games.get(pin)
|
| 72 |
if not game:
|