fix(frontend): resolve TS syntax errors from upload cancellation feature
Some checks failed
Automated Container Build / build-and-push (push) Failing after 15s

This commit is contained in:
Elijah 2026-05-23 17:55:40 -07:00
parent 91fc088389
commit bf9db781dc
2 changed files with 3 additions and 3 deletions

View file

@ -240,7 +240,7 @@ class ApiClient {
return res.json();
}
upload(file: File, destPath: string, options?: { onProgress?: (percent: number) => void, overwrite?: boolean }): Promise<void> {
upload(file: File, destPath: string, options?: { onProgress?: (percent: number) => void, overwrite?: boolean, signal?: AbortSignal }): Promise<void> {
return new Promise((resolve, reject) => {
const upload = new tus.Upload(file, {
endpoint: `${API_BASE}/api/tus/`,