Skip to content

Commit 0b162e2

Browse files
committed
Improve getProviderInfo: disable oauth_app_name, add settings_class, improve disabled_help
1 parent e49e2d7 commit 0b162e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Services/InfoProviderSystem/Providers/BuerklinProvider.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,9 @@ public function getProviderInfo(): array
175175
'name' => 'Buerklin',
176176
'description' => 'This provider uses the Buerklin API to search for parts.',
177177
'url' => 'https://www.buerklin.com/',
178-
'oauth_app_name' => self::OAUTH_APP_NAME,
179-
'disabled_help' => 'Set the environment variables PROVIDER_BUERKLIN_CLIENT_ID, PROVIDER_BUERKLIN_SECRET, PROVIDER_BUERKLIN_USERNAME and PROVIDER_BUERKLIN_PASSWORD.'
178+
//'oauth_app_name' => self::OAUTH_APP_NAME, //https://github.com/Part-DB/Part-DB-server/pull/1151#discussion_r2622979937
179+
'disabled_help' => 'Configure the API Client ID, Secret, Username and Password provided by Buerklin in the provider settings to enable.',
180+
'settings_class' => BuerklinSettings::class
180181
];
181182
}
182183

0 commit comments

Comments
 (0)