fix: resolve wsl_v5 lint issues

This commit is contained in:
user
2026-02-20 03:14:46 -08:00
parent ed96c6ccde
commit 3adc5479b7
3 changed files with 9 additions and 0 deletions

View File

@@ -224,6 +224,7 @@ func (s *Handlers) HandleSendCommand() http.HandlerFunc {
}
var req request
err := json.NewDecoder(r.Body).Decode(&req)
if err != nil {
s.respondJSON(w, r, map[string]string{"error": "invalid request"}, http.StatusBadRequest)