Improve folder error
parent
c567000406
commit
3f6a31f2b5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue