mirror of
https://github.com/safing/portmaster
synced 2025-09-10 15:08:22 +00:00
Fix linter warning
This commit is contained in:
parent
ead0323e43
commit
e0c9bec91a
2 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,7 @@ type ActiveChartHandler struct {
|
|||
Database *Database
|
||||
}
|
||||
|
||||
func (ch *ActiveChartHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
|
||||
func (ch *ActiveChartHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request) { //nolint:dupl
|
||||
requestPayload, err := ch.parseRequest(req)
|
||||
if err != nil {
|
||||
http.Error(resp, err.Error(), http.StatusBadRequest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue