post order

This commit is contained in:
bronku 2026-06-16 16:54:35 +02:00
parent 4666618151
commit c540ccc28e
5 changed files with 38 additions and 37 deletions

View file

@ -159,16 +159,6 @@ func (h *Server) blocked(r *http.Request) (templ.Component, int, error) {
return templates.BlockedPage(dates), http.StatusOK, nil
}
func internalError(err error) *httpError {
return &httpError{http.StatusInternalServerError, err}
}
func badRequest(err error) *httpError {
return &httpError{http.StatusBadRequest, err}
}
func notFound(err error) *httpError {
return &httpError{http.StatusNotFound, err}
}
func (h *Server) newOrder(r *http.Request) (dto.OrderPage, *httpError) {
var dto dto.OrderPage
var err error