gfg
This commit is contained in:
parent
c06f2b3625
commit
9b138c1d90
12 changed files with 23 additions and 24 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue