Skip to content

Commit 2315176

Browse files
committed
fix: Repoint variable from previous typo.
1 parent 1ec0d58 commit 2315176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ async def _synchronize(self, payload: Optional[dict] = None) -> None:
225225
for command in commands:
226226
if command.get("code"):
227227
# Error exists.
228-
raise JSONException(commands["code"], message=commands["message"] + " |")
228+
raise JSONException(command["code"], message=command["message"] + " |")
229229

230230
names: List[str] = (
231231
[command["name"] for command in commands if command.get("name")] if commands else []

0 commit comments

Comments
 (0)