Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ async def create_game(request: Request):
|
|
| 33 |
@app.get("/api/test")
|
| 34 |
async def test(data: str = None):
|
| 35 |
if not data:
|
| 36 |
-
raise HTTPException(status_code=404, detail="Missing field
|
| 37 |
|
| 38 |
return{"success": True, "data": data}
|
| 39 |
|
|
|
|
| 33 |
@app.get("/api/test")
|
| 34 |
async def test(data: str = None):
|
| 35 |
if not data:
|
| 36 |
+
raise HTTPException(status_code=404, detail="Missing field data")
|
| 37 |
|
| 38 |
return{"success": True, "data": data}
|
| 39 |
|