Changed .add to .create

This commit is contained in:
2024-07-31 20:02:51 -04:00
parent 75a486251d
commit fb9a19d5f0
10 changed files with 21 additions and 137 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ User.exists = async function(data){
}
};
User.add = async function(data) {
User.create = async function(data) {
try{
data = objValidate.processKeys(this.keyMap, data);
let systemUser = await linuxUser.addUser(data.username);