Fixed bug in perm check middleware caused by last refactor
This commit is contained in:
parent
5ad1c99ead
commit
805387b3da
19 changed files with 30 additions and 26 deletions
|
|
@ -15,7 +15,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
||||
|
||||
//local imports
|
||||
const userModel = require('../schemas/userSchema');
|
||||
const {userModel} = require('../schemas/userSchema');
|
||||
const userBanModel = require('../schemas/userBanSchema')
|
||||
|
||||
//this module is good for keeping wrappers for userModel and other shit in that does more session handling than database access/modification.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue