Missing Data

pull/5/head
Wyatt Herkamp 2 years ago
parent adf1a3e4a8
commit 497552c730

@ -457,7 +457,7 @@ impl PacketDataType {
Value::Array(mut array) => { Value::Array(mut array) => {
if array.len() != 2 { if array.len() != 2 {
return Some(PacketDataType::Other { return Some(PacketDataType::Other {
name: None, name: Some(key.to_string().into()),
value: Value::Array(array), value: Value::Array(array),
}); });
} }
@ -482,7 +482,7 @@ impl PacketDataType {
None None
} }
v => Some(PacketDataType::Other { v => Some(PacketDataType::Other {
name: None, name: Some(key.to_string().into()),
value: v, value: v,
}), }),
} }

Loading…
Cancel
Save