Skip to content

Commit

Permalink
fix: Add follow_redirect to MondialRelay module API call
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-zece-micolet authored and circunspecter committed Sep 14, 2023
1 parent ffd7fb6 commit 85321ad
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/deliveries/couriers/mondial_relay.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ module MondialRelay
module_function

def api_client
Savon.client wsdl: WSDL_ENDPOINT,
logger: Deliveries.logger,
log: Deliveries.debug
Savon.client(
wsdl: WSDL_ENDPOINT,
logger: Deliveries.logger,
log: Deliveries.debug,
follow_redirects: true
)
end

def get_collection_points(country:, postcode:)
Expand Down

0 comments on commit 85321ad

Please sign in to comment.