From 64207ef76ce43fdf99e1c5e531078cf959fee86e Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 10 Oct 2025 15:47:37 -0400 Subject: [PATCH] feature/IO-3357-Reynolds-and-Reynolds-DMS-API-Integration - Checkpoint --- server/web-sockets/redisSocketEvents.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/web-sockets/redisSocketEvents.js b/server/web-sockets/redisSocketEvents.js index 30d25c56b..131fcbd8f 100644 --- a/server/web-sockets/redisSocketEvents.js +++ b/server/web-sockets/redisSocketEvents.js @@ -5,7 +5,6 @@ const { FortellisJobExport, FortellisSelectedCustomer } = require("../fortellis/ const CdkCalculateAllocations = require("../cdk/cdk-calculate-allocations").default; const { exportJobToRome } = require("../rr/rr-job-export"); const lookupApi = require("../rr/rr-lookup"); -const RRCalculateAllocations = require("../rr/rr-calculate-allocations"); function resolveRRConfigFrom(payload = {}) { // Back-compat: allow txEnvelope.config from old callers @@ -437,7 +436,7 @@ const redisSocketEvents = ({ // Calculate allocations (unchanged — CDK utility) socket.on("rr-calculate-allocations", async (jobid, callback) => { try { - const allocations = await RRCalculateAllocations(socket, jobid); + const allocations = await CdkCalculateAllocations(socket, jobid); callback(allocations); } catch (error) { RRLogger(socket, "error", `Error during RR calculate allocations: ${error.message}`);