Skip to content

Commit

Permalink
make changes in category field
Browse files Browse the repository at this point in the history
  • Loading branch information
Sushant-Coder-01 committed Aug 16, 2024
1 parent 9dbf7d0 commit dce9069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/models/Transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const transactionSchema = new mongoose.Schema({
category: {
type: String,
required: true,
enum: ['electronics', 'clothings','other']
enum: ["electronics","men's clothing","women's clothing","jewelery"]
},
image: {
type: String, // Cloudinary url
Expand Down

0 comments on commit dce9069

Please sign in to comment.