Skip to content

Commit

Permalink
fix(api): some small features
Browse files Browse the repository at this point in the history
  • Loading branch information
htoann committed Nov 24, 2022
1 parent 40883f5 commit 589348f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/booking/bookingRouter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { admin, auth } from "../api/middlewares";
import { auth } from "../api/middlewares";
import bookingController from "./bookingController";

const router = require("express").Router();
Expand Down
1 change: 1 addition & 0 deletions server/src/hotel/hotelModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const HotelSchema = new mongoose.Schema(
type: String,
required: true,
trim: true,
lowercase: true,
},
address: {
type: { name: String, lat: Number, lng: Number },
Expand Down

0 comments on commit 589348f

Please sign in to comment.