diff --git a/services/web/app/src/Features/Compile/ClsiManager.js b/services/web/app/src/Features/Compile/ClsiManager.js index 1a2e856b64..3c09b003ae 100644 --- a/services/web/app/src/Features/Compile/ClsiManager.js +++ b/services/web/app/src/Features/Compile/ClsiManager.js @@ -471,9 +471,8 @@ const ClsiManager = { } ProjectGetter.getProject( projectId, - { compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 1, rootDoc_id: 1 }, + { compiler: 1, rootDoc_id: 1, imageName: 1, rootFolder: 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 454dc97d16..e452b421a8 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.ensureRootDocumentIsSet( + return ProjectRootDocManager.ensureRootDocumentIsValid( project_id, function(error) { if (error != null) {