aboutsummaryrefslogtreecommitdiff
path: root/models/users/user.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'models/users/user.model.ts')
-rw-r--r--models/users/user.model.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/users/user.model.ts b/models/users/user.model.ts
index cec9298..d4c67df 100644
--- a/models/users/user.model.ts
+++ b/models/users/user.model.ts
@@ -1,5 +1,5 @@
import { Model, model } from "mongoose"
-import { User, UserSchema } from './user.schema';
+import { UserSchema, userSchema } from './user.schema';
-export default model<User, Model<User>>("User", UserSchema);
+export default model<UserSchema, Model<UserSchema>>("User", userSchema);