merged with main branch to clear the testing commits
This commit is contained in:
@@ -32,7 +32,6 @@ const signupschema: Schema = new Schema({
|
||||
},
|
||||
profilePicture: {
|
||||
type: String,
|
||||
// default: "default-profile-picture.jpg"
|
||||
},
|
||||
isShare: {
|
||||
type: Boolean,
|
||||
@@ -43,14 +42,9 @@ const signupschema: Schema = new Schema({
|
||||
enum: ["online", "offline"],
|
||||
default: "offline",
|
||||
},
|
||||
recentlyViewed: {
|
||||
type: [String],
|
||||
default: [],
|
||||
},
|
||||
});
|
||||
|
||||
const userModel = (db: string) => {
|
||||
return MainModel(db, "Users", signupschema, "Users")
|
||||
// return MainModel(db, "UserAuth", signupschema, "UserAuth");
|
||||
return MainModel(db, "Users", signupschema, "Users");
|
||||
};
|
||||
export default userModel;
|
||||
|
||||
Reference in New Issue
Block a user