style: fix lint

This commit is contained in:
Peter Steinberger
2026-01-04 03:37:00 +00:00
parent c2f3b653c2
commit 7d95f43a75
4 changed files with 118 additions and 79 deletions

View File

@@ -27,13 +27,10 @@ export async function browserPdfSave(
opts: { targetId?: string; profile?: string } = {},
): Promise<BrowserActionPathResult> {
const q = buildProfileQuery(opts.profile);
return await fetchBrowserJson<BrowserActionPathResult>(
`${baseUrl}/pdf${q}`,
{
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ targetId: opts.targetId }),
timeoutMs: 20000,
},
);
return await fetchBrowserJson<BrowserActionPathResult>(`${baseUrl}/pdf${q}`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ targetId: opts.targetId }),
timeoutMs: 20000,
});
}