diff --git a/public/include/pages/api/gethourlyhashrates.inc.php b/public/include/pages/api/gethourlyhashrates.inc.php index 64ee56b8..d9dfea0a 100644 --- a/public/include/pages/api/gethourlyhashrates.inc.php +++ b/public/include/pages/api/gethourlyhashrates.inc.php @@ -16,7 +16,7 @@ $data = array( 'pool' => $statistics->getHourlyHashrateByPool() ); -echo $api->json($data); +echo $api->get_json($data); // Supress master template $supress_master = 1;