From 3f6a31f2b54ee746dba92cbd08a385c598a27132 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 7 Oct 2022 23:36:16 -0700 Subject: [PATCH] Improve folder error --- lib/Controller/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index ded0edb9..8e6f61fa 100644 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -174,7 +174,7 @@ class ApiController extends Controller { $recursive = is_null($this->request->getParam('folder')); $archive = !is_null($this->request->getParam('archive')); if (is_null($folder)) { - return new JSONResponse(["message" => "Timeline folder not found"], Http::STATUS_NOT_FOUND); + return new JSONResponse(["message" => "Folder not found"], Http::STATUS_NOT_FOUND); } // Run actual query