This commit is contained in:
2026-03-25 16:19:28 +03:30
parent 2846db1647
commit f305e00cfe
7 changed files with 63 additions and 121 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class ExternalAPIAdapter:
request_method = method.upper()
self._validate_method(request_method)
service = self.service_registry.get(service_name)
if getattr(settings, "USE_EXTERNAL_API_MOCK", False):
mock_response = self.mock_loader.load(service_name=service_name, path=path, method=request_method)
return AdapterResponse(