diff --git a/client/src/components/dms-allocations-summary/dms-allocations-summary.component.jsx b/client/src/components/dms-allocations-summary/dms-allocations-summary.component.jsx index bfc14f9d6..0c950fba9 100644 --- a/client/src/components/dms-allocations-summary/dms-allocations-summary.component.jsx +++ b/client/src/components/dms-allocations-summary/dms-allocations-summary.component.jsx @@ -35,7 +35,7 @@ export function DmsAllocationsSummary({ socket, bodyshop, jobId, title }) { useEffect(() => { if (Fortellis.treatment === "on") { - wsssocket.emit("cdk-calculate-allocations", jobId, (ack) => { + wsssocket.emit("fortellis-calculate-allocations", jobId, (ack) => { setAllocationsSummary(ack); socket.allocationsSummary = ack; }); @@ -93,8 +93,12 @@ export function DmsAllocationsSummary({ socket, bodyshop, jobId, title }) { extra={ diff --git a/server/web-sockets/createLogEvent.js b/server/web-sockets/createLogEvent.js index 6f2b24050..0e0d52cbc 100644 --- a/server/web-sockets/createLogEvent.js +++ b/server/web-sockets/createLogEvent.js @@ -35,7 +35,7 @@ function createJsonEvent(socket, level, message, json) { timestamp: new Date(), level, message - }); + }); } logger.log( "ws-log-event-json",