]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 8 Jun 2023 18:23:01 +0000 (20:23 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 8 Jun 2023 18:23:01 +0000 (20:23 +0200)
- ops, oversaw this one

fba/federation/gotosocial.py

index 0b10756afd96ba5ff32d2a4eb7b979483bcc9bc1..10c9bff4f5febbffd41f2a30d753df7cdce2b393 100644 (file)
@@ -40,7 +40,7 @@ def fetch_blocks(domain: str, origin: str, nodeinfo_url: str):
 
     try:
         # Blocks
-        federation = fba.get_response(domain, f"{fba.fetch_peers_url}?filter=suspended", fba.api_headers, (config.get("connection_timeout"), config.get("read_timeout"))).json()
+        federation = fba.get_response(domain, f"/api/v1/instance/peers?filter=suspended", fba.api_headers, (config.get("connection_timeout"), config.get("read_timeout"))).json()
 
         if (federation == None):
             print("WARNING: No valid response:", domain);