diff --git a/frontend/vanilla/html/register.html b/frontend/vanilla/html/register.html index dec1111..a87e7ca 100644 --- a/frontend/vanilla/html/register.html +++ b/frontend/vanilla/html/register.html @@ -129,7 +129,7 @@ * Performs an API POST Request to register the user. */ async function register() { - const display_name = document.getElementById('displayname').value; + const displayName = document.getElementById('displayname').value; const email = document.getElementById('email').value; const password = document.getElementById('password').value; @@ -141,7 +141,7 @@ method: 'POST', headers: createHeaders(null), body: JSON.stringify({ - display_name, + displayName, email, password }), diff --git a/frontend/vanilla/html/userprofile.html b/frontend/vanilla/html/userprofile.html index 0ccc167..1ce063f 100644 --- a/frontend/vanilla/html/userprofile.html +++ b/frontend/vanilla/html/userprofile.html @@ -10,27 +10,26 @@ integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> - + - - -