Skip to content

Commit

Permalink
invoke recap customer codes
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Dec 19, 2024
1 parent 594f384 commit 10d8b5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/delivery-locations-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class DeliveryLocationsResolver {

// Fetch Sierra delivery locations by recap code
static deliveryLocationsByRecapCustomerCode (customerCode) {
if (recapCustomerCodes[customerCode] && recapCustomerCodes[customerCode].sierraDeliveryLocations) {
return recapCustomerCodes[customerCode].sierraDeliveryLocations
if (recapCustomerCodes()[customerCode] && recapCustomerCodes()[customerCode].sierraDeliveryLocations) {
return recapCustomerCodes()[customerCode].sierraDeliveryLocations
}
}

Expand All @@ -66,7 +66,7 @@ class DeliveryLocationsResolver {

// Determine eddRequestable by recap customer code:
static __eddRequestableByCustomerCode (customerCode) {
if (recapCustomerCodes[customerCode]) return Boolean(recapCustomerCodes[customerCode].eddRequestable)
if (recapCustomerCodes()[customerCode]) return Boolean(recapCustomerCodes()[customerCode].eddRequestable)
}

// Determine eddRequestable by on-site EDD requestability criteria (presumed on-site):
Expand Down

0 comments on commit 10d8b5a

Please sign in to comment.