+1
-4
crates/jacquard-common/src/types/value.rs
+1
-4
crates/jacquard-common/src/types/value.rs
···
110
110
}
111
111
DataModelType::CidLink => {
112
112
if let Some(value) = value.as_str() {
113
-
map.insert(
114
-
key.to_smolstr(),
115
-
Data::String(AtprotoStr::Cid(Cid::Str(value.into()))),
116
-
);
113
+
map.insert(key.to_smolstr(), Data::CidLink(Cid::Str(value.into())));
117
114
} else {
118
115
map.insert(key.to_smolstr(), Data::from_json(value));
119
116
}