From e92bb13c2015be61a26b8aefe6ac6089bf28f662 Mon Sep 17 00:00:00 2001 From: mdPlusPlus Date: Sat, 28 Jan 2023 01:15:21 +0100 Subject: [PATCH] Fix JSON API endpoint to include all official communities again --- php/fetch-servers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/fetch-servers.php b/php/fetch-servers.php index c5c44826..5d0e061c 100644 --- a/php/fetch-servers.php +++ b/php/fetch-servers.php @@ -255,7 +255,7 @@ */ function query_single_servers_for_rooms($server_url, &$failed_arr = null) { $result = array(); - $endpoint = "/rooms"; + $endpoint = "/rooms?all=1"; $json_url = $server_url . $endpoint; // $json = file_get_contents($json_url); $json = curl_get_contents($json_url); // circumvents flaky routing