Api save user w request #54

Merged
KevinMidboe merged 2 commits from api_save-user-w-request into master 2017-10-23 13:36:28 +00:00
Showing only changes of commit 81fbc86cad - Show all commits

View File

@@ -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);