From d9577fe6ef2961b8fa1b256d3535ecf23748d96a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 8 Jun 2023 20:23:01 +0200 Subject: [PATCH 1/1] Continued: - ops, oversaw this one --- fba/federation/gotosocial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5