From 5fc3641e4e075ce14743e33fb33d5558205d6c18 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Fri, 9 Aug 2024 12:45:37 +0200 Subject: [PATCH] Fix header accept value in fetchHistoryExportRecords --- client/src/api/histories.export.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/api/histories.export.ts b/client/src/api/histories.export.ts index 910cd599a90b..19f54919b683 100644 --- a/client/src/api/histories.export.ts +++ b/client/src/api/histories.export.ts @@ -21,8 +21,8 @@ export async function fetchHistoryExportRecords(historyId: string) { const { data, error } = await GalaxyApi().GET("/api/histories/{history_id}/exports", { params: { path: { history_id: historyId }, - headers: { - Accept: "application/vnd.galaxy.task.export+json", + header: { + accept: "application/vnd.galaxy.task.export+json", }, }, });