Don't send auth token to elastic
This commit is contained in:
@@ -466,7 +466,7 @@ const elasticSearchMoviesAndShows = query => {
|
|||||||
|
|
||||||
return fetch(url.href, {
|
return fetch(url.href, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: AUTHORIZATION_HEADERS(),
|
headers: { "Content-Type": "application/json" },
|
||||||
body: JSON.stringify(body)
|
body: JSON.stringify(body)
|
||||||
})
|
})
|
||||||
.then(resp => resp.json())
|
.then(resp => resp.json())
|
||||||
|
|||||||
Reference in New Issue
Block a user