Restructure for enabling/disabling

This commit is contained in:
Nirvana
2025-12-25 22:43:32 +01:00
parent 3db3ce59c7
commit 32eaffaddd
@@ -46,7 +46,7 @@ class ProviderMetadata:
# Rest of the method remains the same...
self.label = self.plugin_class.get_static_label(self.country)
self.supported_auth_types = self.plugin_class.get_static_auth_types()
self.logo = self.plugin_class.get_static_logo(self.country)
self.logo = self.plugin_class.get_static_logo(country=self.country)
self.supported_countries = self.plugin_class.get_static_supported_countries()
self.requires_credentials = any(
auth_type in ['user_credentials', 'client_credentials']