Skip to content

Commit

Permalink
Fixed adding destination info to last shipment event if UPS shipment …
Browse files Browse the repository at this point in the history
…is delivered
  • Loading branch information
jbrowning committed Aug 16, 2011
1 parent dfba8f4 commit 76caf15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_shipping/shipping/carriers/ups.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def parse_tracking_response(response, options={})
end
# Has the shipment been delivered?
if status == :delivered
#shipment_events[-1] = ShipmentEvent.new(shipment_events.last.name, shipment_events.last.time, destination)
shipment_events[-1] = ShipmentEvent.new(shipment_events.last.name, shipment_events.last.time, destination)
end
end

Expand Down

0 comments on commit 76caf15

Please sign in to comment.