From b3421faf2533e355efdf6465704cc57d33dad1da Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 3 Nov 2025 20:58:04 +0100 Subject: [PATCH] Fix #11168 --- app/Api/V1/Requests/Generic/QueryRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Api/V1/Requests/Generic/QueryRequest.php b/app/Api/V1/Requests/Generic/QueryRequest.php index 6414cbbc64..10051fc0a8 100644 --- a/app/Api/V1/Requests/Generic/QueryRequest.php +++ b/app/Api/V1/Requests/Generic/QueryRequest.php @@ -36,7 +36,7 @@ class QueryRequest extends ApiRequest public function rules(): array { return [ - 'query' => sprintf('min:1|max:50|%s', $this->required), + 'query' => sprintf('min:0|max:50|%s', $this->required), ]; }