File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/openedx_content/applets/backup_restore Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ class RestoreLearningPackageData:
417417 Data about the restored learning package.
418418 """
419419 id : int # The ID of the restored learning package
420- key : str # The package_ref of the restored learning package (may be different if staged)
420+ package_ref : str # The package_ref of the restored learning package (may be different if staged)
421421 archive_package_ref : str # The original package_ref from the archive
422422 archive_org_code : str | None # The org code parsed from archive_package_ref, or None if unparseable
423423 archive_package_code : str | None # The package code parsed from archive_package_ref, or None if unparseable
@@ -601,7 +601,7 @@ def load(self) -> dict[str, Any]:
601601 log_file_error = None ,
602602 lp_restored_data = RestoreLearningPackageData (
603603 id = learning_package .id ,
604- key = learning_package .package_ref ,
604+ package_ref = learning_package .package_ref ,
605605 archive_package_ref = archive_package_ref ,
606606 archive_org_code = org_code ,
607607 archive_package_code = package_code ,
You can’t perform that action at this time.
0 commit comments