mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
🚚 Rename environment-service
This commit is contained in:
parent
a59cf7f285
commit
7a106742e3
17 changed files with 34 additions and 34 deletions
|
@ -84,7 +84,7 @@ use WooCommerce\PayPalCommerce\WcGateway\Helper\Environment;
|
|||
|
||||
return array(
|
||||
'api.host' => static function( ContainerInterface $container ) : string {
|
||||
$environment = $container->get( 'onboarding.environment' );
|
||||
$environment = $container->get( 'settings.environment' );
|
||||
assert( $environment instanceof Environment );
|
||||
|
||||
if ( $environment->is_sandbox() ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue