Skip to content

Commit

Permalink
Merge pull request #102 from VISHNUDAS-tunerlabs/release-4.10.0
Browse files Browse the repository at this point in the history
hotfix 44.10.0 console added
  • Loading branch information
vijiurs authored Sep 9, 2022
2 parents ffa39bb + f487081 commit 781cadb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions databaseQueries/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
8 changes: 4 additions & 4 deletions module/userProjects/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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];
Expand All @@ -1204,7 +1204,7 @@ module.exports = class UserProjectsHelper {
}

}

console.log("1207",projectCreation.data)
projectCreation.data.status = CONSTANTS.common.STARTED;
projectCreation.data.lastDownloadedAt = new Date();

Expand Down Expand Up @@ -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 ) {
Expand Down

0 comments on commit 781cadb

Please sign in to comment.