fix(web): send the empty body api.post requires for AcoustID run-now (M401 #3922)
release / govulncheck (push) Successful in 25s
release / web (push) Failing after 1m18s
release / go (push) Successful in 1m43s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / integration (push) Canceled after 4m51s
release / android (push) Canceled after 4m51s
release / Build signed APK (releases and dev) (push) Canceled after 4m6s

svelte-check on 0a7f7883: api.post takes a body. Every other body-less POST
in the client passes {}.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-06 23:42:25 -04:00
co-authored by Claude Opus 5.5
parent 0a7f788390
commit 03e07e7c66
+1 -1
View File
@@ -451,7 +451,7 @@ export async function updateAcoustIDSettings(s: {
} }
export async function runAcoustIDLookup(): Promise<void> { export async function runAcoustIDLookup(): Promise<void> {
await api.post<null>('/api/admin/library/acoustid/run'); await api.post<null>('/api/admin/library/acoustid/run', {});
} }
export async function listUnsettledAcoustID(): Promise<AcoustIDUnsettled[]> { export async function listUnsettledAcoustID(): Promise<AcoustIDUnsettled[]> {