Sandboxed Compiles: pass imageName in Copy project

This commit is contained in:
yu-i-i
2026-02-03 20:00:20 +01:00
parent 9808a1d290
commit e576fcb794

View File

@@ -80,7 +80,7 @@ async function duplicate(owner, originalProjectId, newProjectName, tags = []) {
const newProject = await ProjectCreationHandler.promises.createBlankProject( const newProject = await ProjectCreationHandler.promises.createBlankProject(
owner._id, owner._id,
newProjectName, newProjectName,
{ segmentation } { segmentation, imageName: originalProject.imageName }
) )
let prepareClsiCacheInBackground = Promise.resolve() let prepareClsiCacheInBackground = Promise.resolve()