From 981307a1c68616df0bf06b50a75be57c7aea00a3 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it Date: Tue, 8 Aug 2023 10:51:09 +0200 Subject: [PATCH] [Web] add missing break --- data/web/json_api.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/web/json_api.php b/data/web/json_api.php index ac8963e45..07820d75d 100644 --- a/data/web/json_api.php +++ b/data/web/json_api.php @@ -2085,6 +2085,9 @@ if (isset($_GET['query'])) { case "identity-provider-test": process_edit_return(identity_provider('test', $attr)); break; + case "cors": + process_edit_return(cors('edit', $attr)); + break; // return no route found if no case is matched default: http_response_code(404);