2021.4.1 #11
@ -253,7 +253,7 @@ class Configuration(ConfigurationABC):
|
|||||||
return self._hosting_environment.customer
|
return self._hosting_environment.customer
|
||||||
|
|
||||||
if search_type not in self._config:
|
if search_type not in self._config:
|
||||||
raise Exception(f'Config model by type {search_type} not found')
|
return None
|
||||||
|
|
||||||
for config_model in self._config:
|
for config_model in self._config:
|
||||||
if config_model == search_type:
|
if config_model == search_type:
|
||||||
|
Loading…
Reference in New Issue
Block a user