Execute Liquiloans Transaction Script
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
580 B

const db = require("../../utils/db_config");
const { getCurrentDateTime } = require("../helper");
function errorLogStatus(error = null, funName = null) {
let query = `INSERT INTO providentialadvisory.dbo.User_log
(client_code, request, status, response, created_date, created_by, api_name, Open_Close_Status, IPAddress, DeviceId, [Source], Header)
VALUES('23232323', '${error}', 0, '', '${getCurrentDateTime()}', '', '${funName}', 0, '', '', '', '')`;
return db.sequelize.query(query, { type: db.sequelize.QueryTypes.INSERT });
}
module.exports = {
errorLogStatus
}

Powered by TurnKey Linux.