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: { 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 => {