Skip to content

Commit 2c6ccdc

Browse files
committed
comment put not found
1 parent 917cdf9 commit 2c6ccdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/server/helpers.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ func (app *application) clientError(w http.ResponseWriter, status int) {
2222
http.Error(w, http.StatusText(status), status)
2323
}
2424

25-
func (app *application) notFound(w http.ResponseWriter) {
26-
app.clientError(w, http.StatusNotFound)
27-
}
25+
// func (app *application) notFound(w http.ResponseWriter) {
26+
// app.clientError(w, http.StatusNotFound)
27+
// }
2828

2929
func (app *application) requireJSON(r *http.Request, w http.ResponseWriter) bool {
3030
if r.Header.Get("Content-Type") != "application/json" && !strings.HasPrefix(r.Header.Get("Content-Type"), "application/json;") {

0 commit comments

Comments
 (0)