CHANGE: added get for create booking
This commit is contained in:
@@ -33,6 +33,8 @@ func timeCreateHandler(w http.ResponseWriter, r *http.Request) {
|
||||
switch r.Method {
|
||||
case "PUT":
|
||||
createBooking(w, r)
|
||||
case "GET":
|
||||
createBooking(w, r)
|
||||
case "OPTIONS":
|
||||
w.WriteHeader(http.StatusOK)
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user