diff --git a/src/api/wishes.php b/src/api/wishes.php index ed08d87d..220a3a18 100644 --- a/src/api/wishes.php +++ b/src/api/wishes.php @@ -10,11 +10,6 @@ namespace wishthis; global $page, $database; -if (!isset($page)) { - http_response_code(403); - die('Direct access to this location is not allowed.'); -} - switch ($_SERVER['REQUEST_METHOD']) { case 'GET': $getWish = isset($_GET['wish_id']);