diff --git a/client/app/components/http.jsx b/client/app/components/http.jsx index 8f4fbc5..dcaa80c 100644 --- a/client/app/components/http.jsx +++ b/client/app/components/http.jsx @@ -46,6 +46,7 @@ export function fetchJSON(url, method, data) { headers: new Headers({ 'Content-Type': 'application/json', 'authorization': getCookie('token'), + 'loggedinuser': getCookie('loggedInUser'), }), body: JSON.stringify(data) }).then(checkStatus).then(parseJSON);