From 4c49e403abe1b0ecf8a5f327e6166eae997f138f Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Mon, 16 Sep 2024 19:57:59 -0700 Subject: [PATCH] make headers optional? --- src/renderer/api/subsonic/subsonic-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/api/subsonic/subsonic-api.ts b/src/renderer/api/subsonic/subsonic-api.ts index 7e36d8cbb..bb0dc3c1f 100644 --- a/src/renderer/api/subsonic/subsonic-api.ts +++ b/src/renderer/api/subsonic/subsonic-api.ts @@ -242,7 +242,7 @@ export const ssApiClient = (args: { return { body: response?.data, - headers: response.headers as any, + headers: response?.headers as any, status: response?.status, }; }