Skip to content

Commit

Permalink
remove breaking type change
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstanceH committed Jan 9, 2025
1 parent 35c16af commit 4ee0dbe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/services/mto_shipment/mto_shipment_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -854,8 +854,6 @@ func (f *mtoShipmentUpdater) updateShipmentRecord(appCtx appcontext.AppContext,
// we only need to do this if the estimated weight, primary addresses, and pickup date are being updated since those all impact pricing
// we will compare data here to see if we even need to update the pricing
if newShipment.MarketCode == models.MarketCodeInternational &&
newShipment.ShipmentType != models.MTOShipmentTypeHHGIntoNTS ||
newShipment.ShipmentType != models.MTOShipmentTypeHHGOutOfNTSDom ||
newShipment.PrimeEstimatedWeight != nil ||
newShipment.PickupAddress != nil && dbShipment.PickupAddress != nil && newShipment.PickupAddress.PostalCode != dbShipment.PickupAddress.PostalCode ||
newShipment.DestinationAddress != nil && dbShipment.DestinationAddress != nil && newShipment.DestinationAddress.PostalCode != dbShipment.DestinationAddress.PostalCode ||
Expand Down

0 comments on commit 4ee0dbe

Please sign in to comment.