Skip to content

Commit

Permalink
fix(controllers): remove name for unused request parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-zeman committed Aug 26, 2024
1 parent 85aab00 commit 6885e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package controllers

import "net/http"

func NotFound(w http.ResponseWriter, r *http.Request) {
func NotFound(w http.ResponseWriter, _ *http.Request) {
code := http.StatusNotFound
w.WriteHeader(code)
w.Write(responseErrorBytes(code))
Expand Down

0 comments on commit 6885e08

Please sign in to comment.