Added relations to redis ORM

This commit is contained in:
wmantly committed 2024-08-13 15:18:47 -04:00
1 parent 2a5ca3664a
commit b27e1b1617
20 files changed
+240 -150

No files matched your search

+3 -2
View File
@@ -1,7 +1,7 @@
'use strict';
const {User} = require('../models/user');
const {AuthToken} = require('../models/token');
const Table = require('../models');
const {User, AuthToken} = Table.models;
class Auth{
@@ -35,6 +35,7 @@ class Auth{
throw this.errors.login();
}catch(error){
console.log('check error', error);
throw this.errors.login();
}
}