Merge pull request #54 from KevinMidboe/api_save-user-w-request
Api save user w request
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user