From 6e6b068ae2adc8c5ef8acb633dcadfbdc3221b61 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 11 Jun 2025 12:39:28 -0400 Subject: tools/reformat --- ui/lib/apiServer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ui/lib/apiServer.js') 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); } -- cgit v1.2.3