diff --git a/src/api/api.js b/src/api/api.js index 3f67f4a..c4d183a 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -2,6 +2,7 @@ function getHeaders() { const headers = new Headers(); headers.append("Accept", "application/json"); headers.append("Content-Type", "application/json"); + headers.append("Authorization", "Basic ***REMOVED***"); return headers; } diff --git a/src/api/axiosApi.js b/src/api/axiosApi.js index 0856b75..8321abf 100644 --- a/src/api/axiosApi.js +++ b/src/api/axiosApi.js @@ -2,7 +2,8 @@ import axios from "axios"; function getHeaders() { return { - "Content-Type": "application/json" + "Content-Type": "application/json", + Authorization: "Basic ***REMOVED***" }; }