summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2021-03-19 14:47:30 +0100
committerRobin Appelman <robin@icewind.nl>2021-03-19 16:08:01 +0100
commitb38618c8139a8017590ea59064184307a93f9808 (patch)
tree2b804f646f019912f4d6ce7e4dd8f4a2291d15b0 /core/Controller
parenta0fb6d251893fcb4817853ff8636a61bbae088ee (diff)
downloadnextcloud-server-b38618c8139a8017590ea59064184307a93f9808.tar.gz
nextcloud-server-b38618c8139a8017590ea59064184307a93f9808.zip
use node search api for legacy file search endpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/SearchController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Controller/SearchController.php b/core/Controller/SearchController.php
index 72633630dad..42439e9ceb9 100644
--- a/core/Controller/SearchController.php
+++ b/core/Controller/SearchController.php
@@ -55,6 +55,7 @@ class SearchController extends Controller {
/**
* @NoAdminRequired
+ * @NoCSRFRequired
*/
public function search(string $query, array $inApps = [], int $page = 1, int $size = 30): JSONResponse {
$results = $this->searcher->searchPaged($query, $inApps, $page, $size);