Fix typo causing data not saving

This commit is contained in:
BagusCodeStudio
2022-02-02 10:51:56 +07:00
committed by GitHub
parent d2185dfdf2
commit 5f6909badc
+1 -1
View File
@@ -364,7 +364,7 @@ function deleteIdentity(xPlayer)
end
function saveIdentityToDatabase(identifier, identity)
MySQL.update.await('UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ? WHERE identifier = ?', {identity.firstName, identity.lastName, identity.dateOfBirth, identity.sex, identity.height. identifier})
MySQL.update.await('UPDATE users SET firstname = ?, lastname = ?, dateofbirth = ?, sex = ?, height = ? WHERE identifier = ?', {identity.firstName, identity.lastName, identity.dateOfBirth, identity.sex, identity.height, identifier})
end
function deleteIdentityFromDatabase(xPlayer)