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:
Diffstat (limited to 'src/js/Api/public.js')
-rw-r--r--src/js/Api/public.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/Api/public.js b/src/js/Api/public.js
index 362665fc..e32460d9 100644
--- a/src/js/Api/public.js
+++ b/src/js/Api/public.js
@@ -32,10 +32,11 @@ const publicPoll = {
})
},
- watch(shareToken) {
+ watchPoll(shareToken, lastUpdated) {
return axiosInstance.request({
method: 'GET',
url: `s/${shareToken}/watch`,
+ params: { offset: lastUpdated },
cancelToken: cancelTokenHandlerObject[this.watch.name].handleRequestCancellation().token,
})
},