🎨 Rename REST endpoint service

This commit is contained in:
Philipp Stracker 2025-02-12 17:00:36 +01:00
parent a7ad31a35c
commit 70722d1aca
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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' ),
);

View file

@ -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' ),