mirror of
https://gitlab.com/MrFry/qmining-data-editor
synced 2025-04-01 20:24:01 +02:00
Including credetials on posting new data
This commit is contained in:
@@ -122,6 +122,7 @@ export default function Index (props) {
|
|||||||
'Accept': 'application/json',
|
'Accept': 'application/json',
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
},
|
},
|
||||||
|
credentials: 'include',
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
newData: data,
|
newData: data,
|
||||||
count: getCount(data),
|
count: getCount(data),
|
||||||
|
Reference in New Issue
Block a user