Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -7,8 +7,7 @@ const UserSchema = new mongoose.Schema({ | ... | @@ -7,8 +7,7 @@ const UserSchema = new mongoose.Schema({ |
7 | }, | 7 | }, |
8 | email: { | 8 | email: { |
9 | type: String, | 9 | type: String, |
10 | - trim: true, | 10 | + trim: true |
11 | - unique: true, | ||
12 | }, | 11 | }, |
13 | avatarUrl: String, | 12 | avatarUrl: String, |
14 | githubId: { | 13 | githubId: { | ... | ... |
-
Please register or login to post a comment