summaryrefslogtreecommitdiff
path: root/ui/lib/apiServer.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/lib/apiServer.js')
-rw-r--r--ui/lib/apiServer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/lib/apiServer.js b/ui/lib/apiServer.js
index fee1a81..e52daff 100644
--- a/ui/lib/apiServer.js
+++ b/ui/lib/apiServer.js
@@ -54,9 +54,9 @@ export async function acceptInvite(inviteId, username, password) {
return apiServer.post(`/invite/${inviteId}`, data);
}
-export function subscribeToEvents(resume_point) {
+export function subscribeToEvents(resumePoint) {
const eventsUrl = new URL('/api/events', window.location);
- eventsUrl.searchParams.append('resume_point', resume_point);
+ eventsUrl.searchParams.append('resume_point', resumePoint);
const evtSource = new EventSource(eventsUrl.toString());
// TODO: this should process all incoming events and store them.
// TODO: eventually we'll need to handle expiring old info, so as not to use