mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Sandboxed Compiles: pass imageName in Copy project
This commit is contained in:
@@ -117,6 +117,7 @@ async function duplicate(
|
|||||||
)
|
)
|
||||||
attributes.overleaf = { history: { id: newHistoryId } }
|
attributes.overleaf = { history: { id: newHistoryId } }
|
||||||
}
|
}
|
||||||
|
attributes.imageName = originalProject.imageName
|
||||||
|
|
||||||
// Now create the new project, cleaning it up on failure if necessary
|
// Now create the new project, cleaning it up on failure if necessary
|
||||||
const newProject = await ProjectCreationHandler.promises.createBlankProject(
|
const newProject = await ProjectCreationHandler.promises.createBlankProject(
|
||||||
|
|||||||
Reference in New Issue
Block a user