Merge pull request #3 from east-and-west-magic/wrong-keyname
Browse files- call_pgai.py +1 -1
call_pgai.py
CHANGED
|
@@ -8,7 +8,7 @@ import json
|
|
| 8 |
|
| 9 |
def post_to_pgai_helper(command: str, game: str) -> Any:
|
| 10 |
myobj = {
|
| 11 |
-
"
|
| 12 |
"command": command,
|
| 13 |
}
|
| 14 |
|
|
|
|
| 8 |
|
| 9 |
def post_to_pgai_helper(command: str, game: str) -> Any:
|
| 10 |
myobj = {
|
| 11 |
+
"token": os.getenv("pgai_code"),
|
| 12 |
"command": command,
|
| 13 |
}
|
| 14 |
|