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
@@ -39,7 +39,7 @@ class AuthToken extends Token{
static async add(data){
data.created_by = data.username;
return super.add(data)
return super.create(data)
}