From 7bced509527e510caffbfc91bb4e9ed2a362e839 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Fri, 14 Jan 2022 17:12:55 +0100 Subject: [PATCH] Don't send auth token to elastic --- src/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.js b/src/api.js index da86d0c..8b90aab 100644 --- a/src/api.js +++ b/src/api.js @@ -466,7 +466,7 @@ const elasticSearchMoviesAndShows = query => { return fetch(url.href, { method: "POST", - headers: AUTHORIZATION_HEADERS(), + headers: { "Content-Type": "application/json" }, body: JSON.stringify(body) }) .then(resp => resp.json())