forked from Adleraci/adlerka.top
convert to jsonless
This commit is contained in:
parent
014a23377c
commit
0c4f37bab3
@ -8,11 +8,11 @@ function login() {
|
|||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: {
|
||||||
action: 'login',
|
action: 'login',
|
||||||
email: email,
|
email: email,
|
||||||
password: password
|
password: password
|
||||||
}),
|
},
|
||||||
})
|
})
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
|
Loading…
Reference in New Issue
Block a user