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.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/lib/apiServer.js b/ui/lib/apiServer.js
index e682681..397638c 100644
--- a/ui/lib/apiServer.js
+++ b/ui/lib/apiServer.js
@@ -4,7 +4,7 @@ import * as r from './retry.js';
import { timedDelay } from './retry.js';
export const apiServer = axios.create({
- baseURL: '/api/'
+ baseURL: '/api/',
});
export async function boot() {
@@ -51,7 +51,7 @@ export async function acceptInvite(inviteId, name, password) {
return apiServer
.post(`/invite/${inviteId}`, {
name,
- password
+ password,
})
.catch(responseError);
}
@@ -60,8 +60,8 @@ export function subscribeToEvents(resumePoint) {
const eventsUrl = apiServer.getUri({
url: '/events',
params: {
- resume_point: resumePoint
- }
+ resume_point: resumePoint,
+ },
});
return new EventSource(eventsUrl);
}