Update index.html
1 file changed+1−1
index.html+1−1View file
| @@ -1817,7 +1817,7 @@ | ||
| const res = await fetch('/api/p/' + PROJECT_ID + '/auth/register', { | ||
| method: 'POST', | ||
| headers: { 'Content-Type': 'application/json' }, | ||
| - body: JSON.stringify({ email, password, name, role }) | ||
| + body: JSON.stringify({ email, password, name }) | ||
| }); | ||
| if (res.ok) { | ||
| const data = await res.json(); | ||