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"];