Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/common/informixHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ async function loadOnlineReviewDetails (authUser, submission) {
// Add the reviews created to DynamoDB
for (const review of reviewsCreated) {
if (review && review.typeId) {
logger.info(JSON.stringify(review, null, 4))
logger.info(`Creating review: ${JSON.stringify(review, null, 4)}`)
await ReviewService.createReview(authUser, review)
}
}

// Adds the review summation to DynamoDB
logger.info(JSON.stringify(reviewSummation, null, 4))
logger.info(`Creating review summation: ${JSON.stringify(reviewSummation, null, 4)}`)
if (reviewSummation) {
await ReviewSummationService.createReviewSummation(authUser, reviewSummation)
}
Expand All @@ -96,8 +96,6 @@ function queryInformix (query) {
';PWD=' + config.get('INFORMIX.PASSWORD')

let result = null
logger.info(query)

try {
const conn = informix.openSync(connectionString)
result = conn.querySync(query)
Expand Down