CDK updates.
This commit is contained in:
@@ -31,6 +31,7 @@ const io = new Server(server, {
|
||||
"https://test.imex.online",
|
||||
"http://localhost:3000",
|
||||
"https://imex.online",
|
||||
"https://www.imex.online",
|
||||
],
|
||||
methods: ["GET", "POST"],
|
||||
},
|
||||
|
||||
@@ -183,7 +183,7 @@ async function CdkSelectedCustomer(socket, selectedCustomerId) {
|
||||
`{5} Updating Service Vehicle History.`
|
||||
);
|
||||
socket.DMSVehHistory = await InsertServiceVehicleHistory(socket);
|
||||
// socket.emit("export-success", socket.JobData.id);
|
||||
socket.emit("export-success", socket.JobData.id);
|
||||
} else {
|
||||
//Get the error code
|
||||
CdkBase.createLogEvent(
|
||||
@@ -199,7 +199,6 @@ async function CdkSelectedCustomer(socket, selectedCustomerId) {
|
||||
`{6.2} Deleting Transaction ID ${socket.DMSTransHeader.transID}`
|
||||
);
|
||||
socket.DmsBatchTxnPost = await DeleteDmsWip(socket);
|
||||
//Emit the error in a nice way .
|
||||
|
||||
socket.DmsError.errMsg
|
||||
.split("|")
|
||||
|
||||
Reference in New Issue
Block a user