From 730b6b093bf8257d833a6ecf258496ffd2e164b9 Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Wed, 1 Jun 2022 00:39:04 -0300 Subject: [PATCH] Use the correct endpoint for MAXLOGAGE Signed-off-by: RD WebDesign --- api_FTL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_FTL.php b/api_FTL.php index 9a091ac3..cb0a8574 100644 --- a/api_FTL.php +++ b/api_FTL.php @@ -64,7 +64,7 @@ if (isset($_GET['summary']) || isset($_GET['summaryRaw']) || !count($_GET)) { } if (isset($_GET["getMaxlogage"]) && $auth) { - $return = callFTLAPI("stats"); + $return = callFTLAPI("maxlogage"); if (array_key_exists("FTLnotrunning", $return)) { $data = array("FTLnotrunning" => true); } else {