fix: improve browser upload triggering

This commit is contained in:
Peter Steinberger committed 2026-01-01 09:35:20 +00:00
1 parent fbcbc60e85
commit bf0bee58b3
9 files changed
+50

No files matched your search

+2
View File
@@ -93,6 +93,7 @@ export async function browserArmFileChooser(
baseUrl: string,
opts: {
paths: string[];
ref?: string;
targetId?: string;
timeoutMs?: number;
},
@@ -104,6 +105,7 @@ export async function browserArmFileChooser(
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
paths: opts.paths,
ref: opts.ref,
targetId: opts.targetId,
timeoutMs: opts.timeoutMs,
}),