Update api.js
This commit is contained in:
parent
9594d15833
commit
870aac783e
|
@ -60,7 +60,7 @@ const req = (method, url, params, responseType) => {
|
||||||
method: "post",
|
method: "post",
|
||||||
body: JSON.stringify(params),
|
body: JSON.stringify(params),
|
||||||
headers: new Headers({
|
headers: new Headers({
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue