MCPcopy Create free account
hub / github.com/LumePart/Explo / wizardStep1

Function wizardStep1

src/web/frontend/src/lib/api.js:85–92  ·  view source on GitHub ↗
(user, playlists, discovery_mode)

Source from the content-addressed store, hash-verified

83}
84
85export async function wizardStep1(user, playlists, discovery_mode) {
86 const res = await apiFetch('/api/ui/wizard/step1', {
87 method: 'POST',
88 headers: { 'Content-Type': 'application/json' },
89 body: JSON.stringify({ user, playlists, discovery_mode }),
90 })
91 if (!res.ok) throw new Error(await res.text())
92}
93
94export async function wizardStep2(body) {
95 const res = await apiFetch('/api/ui/wizard/step2', {

Callers 1

handleStep1Function · 0.90

Calls 1

apiFetchFunction · 0.85

Tested by

no test coverage detected