remove v2 files
This commit is contained in:
1 parent
059408f098
commit
c0ff162ed9
5 files changed
+25
-759
No files matched your search
@@ -96,12 +96,6 @@ const userSchema = new Schema<IUser>(
|
||||
},
|
||||
{
|
||||
timestamps: true,
|
||||
toJSON: {
|
||||
transform: function (_doc, ret) {
|
||||
delete ret.passwordHash;
|
||||
return ret;
|
||||
},
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user