]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2023 17:40:37 +0000 (19:40 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2023 17:40:37 +0000 (19:40 +0200)
- no parameter for 'timeout' (here: 'headers' wasn't handled over)

fba/federation.py

index 92669c50cea2356f67e0ec8d0a1ba47889946154..888868259cbcecd99ff728718e0c9c07aff04e5f 100644 (file)
@@ -137,6 +137,7 @@ def fetch_peers(domain: str, software: str) -> list:
         data = network.get_json_api(
             domain,
             "/api/v3/site",
+            headers,
             (config.get("connection_timeout"), config.get("read_timeout"))
         )