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:
authorRené Gieling <github@dartcafe.de>2021-01-31 00:59:40 +0300
committerGitHub <noreply@github.com>2021-01-31 00:59:40 +0300
commitd2e3dee23b721eed70449530628aba13da3c3fe0 (patch)
tree4ee406c1ff718a1c44af4223cc4855e2dd89f98d /appinfo
parent726906a68bcbba3efa440c065e72e23501f3d219 (diff)
Watch events (#1367)
Watch current poll for updates an apply immediately
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index ae0199d8..b41d2d34 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -92,6 +92,7 @@ return [
['name' => 'comment#delete', 'url' => '/comment/{commentId}', 'verb' => 'DELETE', 'postfix' => 'auth'],
['name' => 'system#user_search', 'url' => '/search/users/{query}', 'verb' => 'GET'],
+ ['name' => 'watch#watch_single_poll', 'url' => '/watch/{pollId}', 'verb' => 'GET'],
['name' => 'preferences#write', 'url' => '/preferences/write', 'verb' => 'POST'],
['name' => 'preferences#get', 'url' => '/preferences/get', 'verb' => 'GET'],