This commit is contained in:
Aevann1 2021-10-12 19:07:51 +02:00
parent c06f2b3625
commit 9b138c1d90
12 changed files with 23 additions and 24 deletions

View file

@ -22,7 +22,6 @@ document.addEventListener("DOMContentLoaded", function () {
const API = '/is_available/' + userName;
if (userName.length >= 3) {
// response is {"<userName>": false} and if false it means it already exists
fetch(API)
.then(res => res.json())
.then(json => {