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