mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
🎨 Rename REST endpoint service
This commit is contained in:
parent
a7ad31a35c
commit
70722d1aca
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ return array(
|
|||
$container->get( 'woocommerce.logger.woocommerce' )
|
||||
);
|
||||
},
|
||||
'settings.rest.connect_manual' => static function ( ContainerInterface $container ) : AuthenticationRestEndpoint {
|
||||
'settings.rest.authentication' => static function ( ContainerInterface $container ) : AuthenticationRestEndpoint {
|
||||
return new AuthenticationRestEndpoint(
|
||||
$container->get( 'settings.service.authentication_manager' ),
|
||||
);
|
||||
|
|
|
@ -232,7 +232,7 @@ class SettingsModule implements ServiceModule, ExecutableModule {
|
|||
$endpoints = array(
|
||||
'onboarding' => $container->get( 'settings.rest.onboarding' ),
|
||||
'common' => $container->get( 'settings.rest.common' ),
|
||||
'connect_manual' => $container->get( 'settings.rest.connect_manual' ),
|
||||
'connect_manual' => $container->get( 'settings.rest.authentication' ),
|
||||
'login_link' => $container->get( 'settings.rest.login_link' ),
|
||||
'webhooks' => $container->get( 'settings.rest.webhooks' ),
|
||||
'refresh_feature_status' => $container->get( 'settings.rest.refresh_feature_status' ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue