update 18 mei
This commit is contained in:
@@ -53,6 +53,7 @@ func main() {
|
||||
protected.POST("/bookings", controllers.CreateBooking)
|
||||
protected.GET("/bookings", controllers.GetAllBookings)
|
||||
protected.PUT("/bookings/:id/status", controllers.UpdateBookingStatus)
|
||||
protected.GET("/my-bookings", controllers.GetMyBookings)
|
||||
|
||||
// Admin (Manage Rooms)
|
||||
protected.PUT("/admin/rooms/:id/status", controllers.UpdateRoomStatus)
|
||||
|
||||
Reference in New Issue
Block a user