Skip to content

Commit 0f24ce1

Browse files
Update updateInformix.js
1 parent 042130c commit 0f24ce1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/updateInformix.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const informix = require('../common/informixWrapper')
33
const logger = require('../common/logger')
44

55
async function updateInformix (payload) {
6-
logger.debug(`Received payload at updateinformix stringify : ${JSON.stringify(payload)}`)
6+
logger.debug(`updateinformix received payload -stringify : ${JSON.stringify(payload)}`)
77
logger.debug('=====Starting to update informix with data:====')
88
const operation = payload.payload.operation.toLowerCase()
99
console.log("Informix DML Operation :",operation)
@@ -12,7 +12,7 @@ async function updateInformix (payload) {
1212
let paramvalue = null
1313

1414
const columns = payload.payload.data
15-
logger.debug(`Columns details at updateinformix : ${columns}`)
15+
logger.debug(`updateinformix columns details : ${JSON.stringify(columns)}`)
1616
const primaryKey = payload.payload.Uniquecolumn
1717
// Build SQL query
1818
switch (operation) {

0 commit comments

Comments
 (0)