diff --git a/databaseQueries/projects.js b/databaseQueries/projects.js index 7c92b5bd..cf9ee14f 100644 --- a/databaseQueries/projects.js +++ b/databaseQueries/projects.js @@ -119,6 +119,7 @@ module.exports = class Projects { try { let projectDocument = await database.models.projects.create(projectData); + console.log("122",projectDocument) return resolve(projectDocument); } catch (error) { diff --git a/module/userProjects/helper.js b/module/userProjects/helper.js index b1a6f0ee..cf77f0da 100644 --- a/module/userProjects/helper.js +++ b/module/userProjects/helper.js @@ -1163,7 +1163,7 @@ module.exports = class UserProjectsHelper { let getUserProfileFromObservation = false; if( bodyData && Object.keys(bodyData).length > 0 ) { - + console.log("1166",bodyData) if( bodyData.hasAcceptedTAndC ) { projectCreation.data.hasAcceptedTAndC = bodyData.hasAcceptedTAndC; } @@ -1195,7 +1195,7 @@ module.exports = class UserProjectsHelper { if( !entityInformation.success ) { return resolve(entityInformation); } - + console.log("1198",entityInformation.data) projectCreation.data["entityInformation"] = _entitiesMetaInformation( entityInformation.data )[0]; @@ -1204,7 +1204,7 @@ module.exports = class UserProjectsHelper { } } - + console.log("1207",projectCreation.data) projectCreation.data.status = CONSTANTS.common.STARTED; projectCreation.data.lastDownloadedAt = new Date(); @@ -1263,7 +1263,7 @@ module.exports = class UserProjectsHelper { } projectCreation.data.userRoleInformation = userRoleInformation; - + console.log("1266",projectCreation.data) let project = await projectQueries.createProject(projectCreation.data); if ( addReportInfoToSolution && project.solutionId ) {