fix a bug: change from str to list
Browse files- routers/game_util.py +1 -1
routers/game_util.py
CHANGED
|
@@ -9,7 +9,7 @@ from fastapi import HTTPException, status
|
|
| 9 |
debug = False
|
| 10 |
|
| 11 |
|
| 12 |
-
def op(game: str, code: str, crud: str, command: str, result=
|
| 13 |
# check passcode
|
| 14 |
_code = os.getenv("hfs_code")
|
| 15 |
if _code is None:
|
|
|
|
| 9 |
debug = False
|
| 10 |
|
| 11 |
|
| 12 |
+
def op(game: str, code: str, crud: str, command: str, result=[], desc=[]) -> Any:
|
| 13 |
# check passcode
|
| 14 |
_code = os.getenv("hfs_code")
|
| 15 |
if _code is None:
|