Skip to content

Commit

Permalink
fixing error 400
Browse files Browse the repository at this point in the history
  • Loading branch information
bagusandrian committed Nov 29, 2023
1 parent bf066d0 commit eb646b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsqd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (s *httpServer) doPUB(w http.ResponseWriter, req *http.Request, ps httprout
if mrc, ok := reqParams["max_retry_channel"]; ok {
maxRetryChannel, err = strconv.Atoi(mrc[0])
if err != nil {
return nil, http_api.Err{400, "INVALID_DEFER_MAX_RETRY_CHANNEL"}
return nil, http_api.Err{400, "INVALID_MAX_RETRY_CHANNEL"}
}
}

Expand Down

0 comments on commit eb646b4

Please sign in to comment.