Update index.html

Ryan Danenberg committed commitca4c8cb294d483b923edcf34b68ced216cbe11b3 Browse files
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();