CDK updates.

This commit is contained in:
Patrick Fic
2021-12-15 13:23:00 -08:00
parent 5b439e1949
commit 3945afc0dd
2 changed files with 2 additions and 2 deletions

View File

@@ -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"],
},

View File

@@ -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("|")