From 9bdf855f8ee4b9a89121ba77f11bfc7afed1c66d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 23 Feb 2024 09:37:44 +0100 Subject: [PATCH] fixup! fix: Proper error handling and validation of passed in node type and node id --- lib/Controller/ApiFavoriteController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Controller/ApiFavoriteController.php b/lib/Controller/ApiFavoriteController.php index df36b54b3..6c08cec6a 100644 --- a/lib/Controller/ApiFavoriteController.php +++ b/lib/Controller/ApiFavoriteController.php @@ -32,7 +32,7 @@ public function __construct( } /** - * [api v2] Create a new table and return it + * [api v2] Add a node (table or view) to user favorites * * @NoAdminRequired * @@ -57,7 +57,7 @@ public function create(int $nodeType, int $nodeId): DataResponse { /** - * [api v2] Delete a table + * [api v2] Remove a node (table or view) to from favorites * * @NoAdminRequired *