Skip to content

Commit

Permalink
fix(api): remove field name
Browse files Browse the repository at this point in the history
  • Loading branch information
htoann committed Nov 1, 2022
1 parent 1b8ecd9 commit 4595aaa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/src/hotel/hotelModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ const HotelSchema = new mongoose.Schema({
type: String,
required: true,
},
name: {
type: String,
required: true,
},
type: {
type: String,
enum: ["hotels", "apartments", "resorts", "villas", "cabins"],
Expand Down

0 comments on commit 4595aaa

Please sign in to comment.