fix: improve browser upload triggering

This commit is contained in:
Peter Steinberger
2026-01-01 09:35:20 +00:00
parent fbcbc60e85
commit bf0bee58b3
9 changed files with 50 additions and 0 deletions

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,
}),