From d68e905356b28745b9c44871890cf56cdd82f0b1 Mon Sep 17 00:00:00 2001 From: Ian Scott Date: Wed, 30 Oct 2024 02:29:01 -0400 Subject: [PATCH] fix(chore): editor settings --- invenio_record_importer_kcworks/services/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invenio_record_importer_kcworks/services/files.py b/invenio_record_importer_kcworks/services/files.py index 45f672b..bacccd2 100644 --- a/invenio_record_importer_kcworks/services/files.py +++ b/invenio_record_importer_kcworks/services/files.py @@ -403,7 +403,7 @@ def _compare_existing_files( print("existing files:", existing_files) if len(existing_files) == 0: same_files = False - record = records_service.files._get_record( + record = records_service.draft_files._get_record( draft_id, system_identity, "delete_files" ) print("record.files.entries:", record.files.entries)