Including credetials on posting new data

This commit is contained in:
MrFry 2020-04-24 19:19:16 +02:00
parent 25b9f72093
commit 6bc51fb387

View file

@ -122,6 +122,7 @@ export default function Index (props) {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
credentials: 'include',
body: JSON.stringify({
newData: data,
count: getCount(data),