fix typo when setting packet type
@@ -269,7 +269,7 @@ class Client:
if packet.get("id") is not None:
data["id"] = packet.id
- packet["type"] = PacketType.BROADCAST_RESPONSE
+ data["type"] = PacketType.BROADCAST_RESPONSE
await self.send(data)
elif data is not None:
