Fix import

This commit is contained in:
micialware committed 2026-09-09 10:53:03 +03:00
1 parent 6e3f58d21c
commit 4a71f31e6f
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ pub fn load_groups(connection: &Connection) -> Result<ImportData, NotificationDa
.collect::<Vec<(i64, i64)>>();
for (_, collection) in sets {
let fields_property = collection.get("fields");
let fields_property = collection.get("flds");
if let Some(fields_property) = fields_property {
let fields = into_result(fields_property.as_array(), IncorrectAnkiFile)?
.iter()