Module: SolidusBolt::SpreeCheckoutController::RefreshBoltAddresses

Defined in:
app/decorators/controllers/solidus_bolt/spree_checkout_controller/refresh_bolt_addresses.rb

Instance Method Summary collapse

Instance Method Details

#before_addressObject



6
7
8
9
10
11
12
# File 'app/decorators/controllers/solidus_bolt/spree_checkout_controller/refresh_bolt_addresses.rb', line 6

def before_address
  SolidusBolt::Users::SyncAddressesService.call(
    user: spree_current_user, access_token: SolidusBolt::Users::RefreshAccessTokenService.call(session: session)
  )

  super
end