Skip to content

Commit

Permalink
SignUp add points into POST data to make the table not undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
LRPerzus committed Feb 10, 2023
1 parent 326dc8a commit e5bad02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ $(document).ready(function () {
let username = $("#account-username").val() ;
let email = $("#account-email").val() ;
let password =$("#account-password").val() ;
let points = 0


console.log(typeof username)
Expand All @@ -51,7 +52,8 @@ $(document).ready(function () {
let data= {
"username": username,
"userEmail": email,
"password": password
"password": password,
"points": points
}

var settings = {
Expand Down

0 comments on commit e5bad02

Please sign in to comment.