diff options
author | Joas Schilling <coding@schilljs.com> | 2024-07-02 08:55:00 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-07-10 13:00:51 +0200 |
commit | 2edddcc2ceadde4c37d75db15892779369105cd3 (patch) | |
tree | 7a98f651a50eb3baa0505dbc702737dd017eb1c3 /appinfo | |
parent | d6cf2f2ff2ea0276799187e05f561b27f2546d0a (diff) |
fix(ban): Add missing banId to unban URL
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes/routesBanController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes/routesBanController.php b/appinfo/routes/routesBanController.php index d38bb6397..cdda427a8 100644 --- a/appinfo/routes/routesBanController.php +++ b/appinfo/routes/routesBanController.php @@ -17,6 +17,6 @@ return [ /** @see \OCA\Talk\Controller\BanController::listBans() */ ['name' => 'Ban#listBans', 'url' => '/api/{apiVersion}/ban/{token}', 'verb' => 'GET', 'requirements' => $requirements], /** @see \OCA\Talk\Controller\BanController::unbanActor() */ - ['name' => 'Ban#unbanActor', 'url' => '/api/{apiVersion}/ban/{token}', 'verb' => 'DELETE', 'requirements' => $requirements], + ['name' => 'Ban#unbanActor', 'url' => '/api/{apiVersion}/ban/{token}/{banId}', 'verb' => 'DELETE', 'requirements' => $requirements], ], ]; |