From 38f61ebb4f8e6fb721f4797084f1ee85a19f9dfa Mon Sep 17 00:00:00 2001 From: TLAIDI Date: Tue, 1 Aug 2023 14:37:20 +0200 Subject: [PATCH] fix(api): update again(#1646) --- antarest/study/service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/antarest/study/service.py b/antarest/study/service.py index 298235f99c..41200430cd 100644 --- a/antarest/study/service.py +++ b/antarest/study/service.py @@ -1221,7 +1221,7 @@ def export_study_flat( storage = self.storage_service.get_storage(study) if isinstance(study, RawStudy): if study.archived: - storage.unarchived(study) + storage.unarchive(study) try: return storage.export_study_flat( path_study=path_study, @@ -2166,7 +2166,7 @@ def unarchive(self, uuid: str, params: RequestParameters) -> str: def unarchive_task(notifier: TaskUpdateNotifier) -> TaskResult: study_to_archive = self.get_study(uuid) - self.storage_service.raw_study_service.unarchived(study_to_archive) + self.storage_service.raw_study_service.unarchive(study_to_archive) study_to_archive.archived = False os.unlink(