Fix import
This commit is contained in:
1 parent
6e3f58d21c
commit
4a71f31e6f
1 file changed
+1
-1
@@ -45,7 +45,7 @@ pub fn load_groups(connection: &Connection) -> Result<ImportData, NotificationDa
|
|||||||
.collect::<Vec<(i64, i64)>>();
|
.collect::<Vec<(i64, i64)>>();
|
||||||
|
|
||||||
for (_, collection) in sets {
|
for (_, collection) in sets {
|
||||||
let fields_property = collection.get("fields");
|
let fields_property = collection.get("flds");
|
||||||
if let Some(fields_property) = fields_property {
|
if let Some(fields_property) = fields_property {
|
||||||
let fields = into_result(fields_property.as_array(), IncorrectAnkiFile)?
|
let fields = into_result(fields_property.as_array(), IncorrectAnkiFile)?
|
||||||
.iter()
|
.iter()
|
||||||
|
|||||||
Reference in new issue
Block a user