diff --git a/capsulflask/http_client.py b/capsulflask/http_client.py index b5d49cd..201a392 100644 --- a/capsulflask/http_client.py +++ b/capsulflask/http_client.py @@ -28,7 +28,7 @@ class MyHTTPClient: def do_multi_http_sync(self, online_hosts: List[OnlineHost], url_suffix: str, body: str, authorization_header=None) -> List[HTTPResult]: - future = run_coroutine(self.make_requests(online_hosts=online_hosts, url_suffix=url_suffix, body=body, authorization_header=authorization_header)) + future = run_coroutine(self.do_multi_http(online_hosts=online_hosts, url_suffix=url_suffix, body=body, authorization_header=authorization_header)) fromOtherThread = future.result() toReturn = [] for individualResult in fromOtherThread: