aboutsummaryrefslogtreecommitdiff
path: root/models/users/user.model.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-10 18:42:33 +0300
committereug-vs <eug-vs@keemail.me>2020-06-10 18:42:33 +0300
commitfd03f269c0e9498e58fe7a381794ab84991b054e (patch)
tree0c60220a6b9d5e46cb99b421b976ff8923e435a0 /models/users/user.model.ts
parent57275beb2ee3224994386ce616f86dbee292e2ee (diff)
downloadwhich-api-fd03f269c0e9498e58fe7a381794ab84991b054e.tar.gz
refactor: rename interfaces
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);