From ca9c08d31adfd6691ec471819b18738c38db2c99 Mon Sep 17 00:00:00 2001 From: Mattias Nixell Date: Thu, 22 Oct 2026 09:04:55 +0300 Subject: [PATCH] Fix fetch polyfill to pass the original request input The current polyfill only passes the URL if a request object is used in the fetch call. It should pass the original request input so that headers and other request values are not removed. Signed-off-by: Mattias Nixell --- @here/olp-sdk-fetch/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@here/olp-sdk-fetch/index.ts b/@here/olp-sdk-fetch/index.ts index e14f86cf..964bed83 100644 --- a/@here/olp-sdk-fetch/index.ts +++ b/@here/olp-sdk-fetch/index.ts @@ -109,7 +109,7 @@ async function fetchWithFileSupport( }); }); } else { - return innerFetch(url, init); + return innerFetch(input, init); } }