Skip to content

Commit

Permalink
minor changes only
Browse files Browse the repository at this point in the history
  • Loading branch information
jagottsicher committed Oct 4, 2023
1 parent 4f12cee commit 91aa4d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmd/web/send-mail.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ func sendMSG(m models.MailData) {
} else {
log.Println("E-Mail sent out!")
}

}
4 changes: 2 additions & 2 deletions internal/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (m *Repository) ReservationJSON(w http.ResponseWriter, r *http.Request) {

available, err := m.DB.SearchAvailabilityByDatesByBungalowID(startDate, endDate, bungalowID)
if err != nil {
// needs to be removed that the test work
// needs to be removed that the test works
// helpers.ServerError(w, err)
resp := jsonResponse{
OK: false,
Expand All @@ -220,7 +220,7 @@ func (m *Repository) ReservationJSON(w http.ResponseWriter, r *http.Request) {
}

output, _ := json.MarshalIndent(resp, "", " ")
// needs to be removed that the test work
// needs to be removed that the test works
// if err != nil {
// helpers.ServerError(w, err)
// }
Expand Down

0 comments on commit 91aa4d0

Please sign in to comment.