From ccf11a4b64c9a6ca48d07cc1acbcdea93f8259bd Mon Sep 17 00:00:00 2001 From: 2ManyProjects Date: Sun, 27 Apr 2025 22:43:49 -0500 Subject: [PATCH] shippinh rates --- backend/src/services/shippingService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/shippingService.js b/backend/src/services/shippingService.js index 12e15b7..cd89ab9 100644 --- a/backend/src/services/shippingService.js +++ b/backend/src/services/shippingService.js @@ -122,7 +122,7 @@ const shippingService = { // Filter by allowed carriers let filteredRates = rates.filter(rate => config.shipping.carriersAllowed.some(carrier => - rate.carrier.toUpperCase().includes(carrier.toUpperCase()) + rate.carrier.toUpperCase().replaceAll(' ', '').includes(carrier.toUpperCase().replaceAll(' ', '')) ) );