diff --git a/services/web/app/src/Features/Compile/ClsiManager.js b/services/web/app/src/Features/Compile/ClsiManager.js index 3c09b003ae..1a2e856b64 100644 --- a/services/web/app/src/Features/Compile/ClsiManager.js +++ b/services/web/app/src/Features/Compile/ClsiManager.js @@ -471,8 +471,9 @@ const ClsiManager = { } ProjectGetter.getProject( projectId, - { compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 1 }, + { compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 1, rootDoc_id: 1 }, (err, project) => { + console.log("GGGG", project) if (err != null) { return callback( new OError({ diff --git a/services/web/app/src/Features/Compile/CompileManager.js b/services/web/app/src/Features/Compile/CompileManager.js index e452b421a8..454dc97d16 100644 --- a/services/web/app/src/Features/Compile/CompileManager.js +++ b/services/web/app/src/Features/Compile/CompileManager.js @@ -62,7 +62,7 @@ module.exports = CompileManager = { return callback(null, 'autocompile-backoff', []) } - return ProjectRootDocManager.ensureRootDocumentIsValid( + return ProjectRootDocManager.ensureRootDocumentIsSet( project_id, function(error) { if (error != null) {