convert to jsonless

This commit is contained in:
Bruno Rybársky 2024-02-02 12:20:17 +01:00
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 => {