renamed models file to usermodel

This commit is contained in:
lukew3 2021-05-19 16:30:41 -04:00
parent b18d6c2910
commit 5417dd9f20
2 changed files with 1 additions and 1 deletions

View file

@ -5,7 +5,7 @@ const mongoose = require("mongoose");
const jwt = require("jsonwebtoken");
const bcrypt = require("bcrypt");
const saltRounds = 10;
const { User } = require("./models");
const { User } = require("./usermodel");
const app = express();
const { Schema } = mongoose;