Skip to content

Commit

Permalink
docs(tutorials): fix typo in database table name (#1563)
Browse files Browse the repository at this point in the history
  • Loading branch information
jferrettiboke committed May 5, 2024
1 parent ba7438a commit d5fc0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/tutorials/username-and-password/nextjs-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ async function login(_: any, formData: FormData): Promise<ActionResult> {
}

const existingUser = await db
.table("username")
.table("user")
.where("username", "=", username.toLowerCase())
.get();
if (!existingUser) {
Expand Down

0 comments on commit d5fc0e5

Please sign in to comment.