fixed issue with redis models

This commit is contained in:
2024-08-06 13:11:55 -04:00
parent e38504457c
commit 84db245f4a
20 changed files with 558 additions and 323 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class AuthToken extends Token{
return await User.get(this.created_by);
}
static async add(data){
static async create(data){
data.created_by = data.username;
return super.create(data)