Skip to content

Commit

Permalink
docs: typo in validation (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
francesconi authored Sep 6, 2024
1 parent 64fefaa commit fa0c25a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function sleep(ms: number) {

async function verifyAgeOnServer(age: number) {
await sleep(Math.floor(Math.random() * 1000))
return age <= 13
return age >= 13
}

async function checkIfUsernameIsTaken(name: string) {
Expand Down

0 comments on commit fa0c25a

Please sign in to comment.