Improve folder error

cache
Varun Patil 2022-10-07 23:36:16 -07:00
parent c567000406
commit 3f6a31f2b5
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class ApiController extends Controller {
$recursive = is_null($this->request->getParam('folder')); $recursive = is_null($this->request->getParam('folder'));
$archive = !is_null($this->request->getParam('archive')); $archive = !is_null($this->request->getParam('archive'));
if (is_null($folder)) { 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 // Run actual query