Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-10-10 09:28:27 +0300
committerdartcafe <github@dartcafe.de>2020-10-10 09:28:27 +0300
commit79e2b1c30fb8ae01747eff3c2722419360c24445 (patch)
tree476e98b9e887b82b5336e9ff557a0523c4b06b23 /appinfo/routes.php
parentc84327d508167a849f470e8cc5a3573650390d35 (diff)
fix #1137
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 66313b0a..4190adf8 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -66,7 +66,8 @@ return [
['name' => 'subscription#set', 'url' => '/subscription', 'verb' => 'POST'],
['name' => 'comment#add', 'url' => '/comment', 'verb' => 'POST'],
- ['name' => 'comment#delete', 'url' => '/comment/{commentId}', 'verb' => 'DELETE'],
+ ['name' => 'comment#delete', 'url' => '/comment/{commentId}', 'verb' => 'DELETE', 'postfix' => 'auth'],
+ ['name' => 'comment#delete', 'url' => '/comment/s/{token}/{commentId}', 'verb' => 'DELETE', 'postfix' => 'public'],
['name' => 'system#get_site_users_and_groups', 'url' => '/siteusers/get', 'verb' => 'POST'],
['name' => 'system#validate_public_username', 'url' => '/check/username', 'verb' => 'POST'],