From 7286ce7b4e1733efcd60e6e6cb1287aa863f81ab Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 18 Jul 2023 12:33:10 -0400 Subject: [PATCH] mynotification endpoint error --- www-api/app/Controllers/WrenchNotifications.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www-api/app/Controllers/WrenchNotifications.php b/www-api/app/Controllers/WrenchNotifications.php index 45a4560d..c585da13 100644 --- a/www-api/app/Controllers/WrenchNotifications.php +++ b/www-api/app/Controllers/WrenchNotifications.php @@ -75,13 +75,11 @@ class WrenchNotifications extends BaseController $in["loc"] = $_SERVER["REMOTE_ADDR"]; - switch ($endpoints){ - + switch ($endpoint){ case 'mynotifications': $call_backend = false; $local_out = $this->dummyData(); break; - } $in["loc"] = $_SERVER["REMOTE_ADDR"];