From: Roland Häder Date: Thu, 8 Jun 2023 18:23:01 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d9577fe6ef2961b8fa1b256d3535ecf23748d96a;p=fba.git Continued: - ops, oversaw this one --- diff --git a/fba/federation/gotosocial.py b/fba/federation/gotosocial.py index 0b10756..10c9bff 100644 --- a/fba/federation/gotosocial.py +++ b/fba/federation/gotosocial.py @@ -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);