From f16096cbcd5ebf140a381bfb2818524f67c8cc84 Mon Sep 17 00:00:00 2001 From: busya Date: Mon, 1 Jun 2026 23:30:19 +0300 Subject: [PATCH] fix(api): add missing fetchApiBlob to api export object MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit downloadSkippedCsv and downloadFailedCsv call api.fetchApiBlob() but it was not exposed on the api object — causing "o.fetchApiBlob is not a function" at runtime. --- frontend/src/lib/api.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/lib/api.ts b/frontend/src/lib/api.ts index 1b6f01e8..9a67c0bd 100644 --- a/frontend/src/lib/api.ts +++ b/frontend/src/lib/api.ts @@ -415,6 +415,7 @@ export const api = { postApi: postApi as (endpoint: string, body: unknown, options?: FetchOptions) => Promise, deleteApi: deleteApi as (endpoint: string, options?: FetchOptions) => Promise, requestApi: requestApi as (endpoint: string, method?: string, body?: unknown, requestOptions?: FetchOptions) => Promise, + fetchApiBlob: fetchApiBlob as (endpoint: string, options?: FetchOptions) => Promise, // #region taskEndpoints [C:2] [TYPE Block] [SEMANTICS tasks, api, crud] getPlugins: () => fetchApi('/plugins'),