diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-06-11 12:39:28 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-06-11 12:39:28 -0400 |
| commit | 6e6b068ae2adc8c5ef8acb633dcadfbdc3221b61 (patch) | |
| tree | 79831028416b0d6934f32961a3fc77d8b004369e /ui/lib/apiServer.js | |
| parent | 1f009e06fd6db82a91536eec88ef3232267385bf (diff) | |
tools/reformat
Diffstat (limited to 'ui/lib/apiServer.js')
| -rw-r--r-- | ui/lib/apiServer.js | 8 |
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); } |
