From 98d23fd37e37b35b84e62c1813aeb4576f9441f2 Mon Sep 17 00:00:00 2001 From: archipelweb Date: Fri, 26 May 2023 15:47:53 +0200 Subject: [PATCH 1/2] format on Sql --- src/OpenSearch/Endpoints/Sql/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenSearch/Endpoints/Sql/Query.php b/src/OpenSearch/Endpoints/Sql/Query.php index badbbe38c..1ba8170f9 100644 --- a/src/OpenSearch/Endpoints/Sql/Query.php +++ b/src/OpenSearch/Endpoints/Sql/Query.php @@ -19,7 +19,7 @@ class Query extends AbstractEndpoint { public function getParamWhitelist(): array { - return []; + return ['format']; } public function getURI(): string From 051d816db4055c7e60d7b1b3733a90d409008255 Mon Sep 17 00:00:00 2001 From: archipelweb Date: Fri, 26 May 2023 15:47:53 +0200 Subject: [PATCH 2/2] format on Sql Signed-off-by: archipelweb --- src/OpenSearch/Endpoints/Sql/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenSearch/Endpoints/Sql/Query.php b/src/OpenSearch/Endpoints/Sql/Query.php index badbbe38c..1ba8170f9 100644 --- a/src/OpenSearch/Endpoints/Sql/Query.php +++ b/src/OpenSearch/Endpoints/Sql/Query.php @@ -19,7 +19,7 @@ class Query extends AbstractEndpoint { public function getParamWhitelist(): array { - return []; + return ['format']; } public function getURI(): string