Skip to content

Commit

Permalink
fixup! fix: Proper error handling and validation of passed in node ty…
Browse files Browse the repository at this point in the history
…pe and node id
  • Loading branch information
juliusknorr committed Feb 23, 2024
1 parent 78738e3 commit 9bdf855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Controller/ApiFavoriteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand All @@ -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
*
Expand Down

0 comments on commit 9bdf855

Please sign in to comment.