We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071c0c6 commit 88f2f63Copy full SHA for 88f2f63
interactions/client/client.py
@@ -1559,8 +1559,7 @@ def _build_sync_payload(
1559
1560
for local_cmd in self.interactions_by_scope.get(cmd_scope, {}).values():
1561
remote_cmd_json = next(
1562
- (v for v in remote_commands if int(v["id"]) == local_cmd.cmd_id.get(cmd_scope)),
1563
- None,
+ (c for c in remote_commands if int(c["id"]) == int(local_cmd.cmd_id.get(cmd_scope, 0))), None
1564
)
1565
local_cmd_json = next((c for c in local_cmds_json[cmd_scope] if c["name"] == str(local_cmd.name)))
1566
0 commit comments