BUGFIX: sending account index via post validation hook

This commit is contained in:
2021-12-11 11:53:13 +00:00
parent cc6b7bd7b4
commit 062bc43f5a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ const route = async (req, res) => {
}
//move data to the accounts table
const [account] = await accounts.upsert({
const account = await accounts.create({
email: info.email,
username: info.username,
hash: info.hash,