Skip to content

Commit

Permalink
rename unused arg in getInfoHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Oct 31, 2024
1 parent ac533bd commit a23b028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/ilius/localsend-go/pkg/discovery/shared"
)

func (s *serverImp) getInfoHandler(w http.ResponseWriter, r *http.Request) {
func (s *serverImp) getInfoHandler(w http.ResponseWriter, _ *http.Request) {
msg := shared.GetMesssage(s.conf)
res, err := json.Marshal(msg)
if err != nil {
Expand Down

0 comments on commit a23b028

Please sign in to comment.