mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
fixing new course config form
This commit is contained in:
@@ -103,6 +103,13 @@ async function migrateCourseContent(
|
||||
) {
|
||||
const oldCourseName = settingsFromCourseToImport.name;
|
||||
const newCourseName = settings.name;
|
||||
console.log(
|
||||
"migrating content from ",
|
||||
oldCourseName,
|
||||
"to ",
|
||||
newCourseName
|
||||
);
|
||||
|
||||
const oldModules = await getModuleNamesFromFiles(oldCourseName);
|
||||
await Promise.all(
|
||||
oldModules.map(async (moduleName) => {
|
||||
|
||||
Reference in New Issue
Block a user