Merge branch 'master' into feat/image-upload

This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-07-02 11:00:48 -07:00
commit c545a704ac
6 files changed
+123 -27

No files matched your search

+5
View File
@@ -32,6 +32,11 @@ const UserSchema = mongoose.Schema(
type: Boolean,
default: false,
},
role: {
type: String,
default: "user",
enum: ["user", "admin"],
},
},
{
timestamps: true,