diff --git a/src/js/mixins/watchPolls.js b/src/js/mixins/watchPolls.js index c39b649fe..3c8fa5e63 100644 --- a/src/js/mixins/watchPolls.js +++ b/src/js/mixins/watchPolls.js @@ -94,6 +94,10 @@ export const watchPolls = { return await PublicAPI.watchPoll(this.$route.params.token, this.lastUpdated) } + if(!this.$route.params.id) { + Logger.debug('Fetching updates canceled - no poll id') + } + return await PollsAPI.watchPoll(this.$route.params.id, this.lastUpdated) },