mirror of
https://github.com/safing/portbase
synced 2025-09-16 01:59:51 +00:00
Fix linter errors
This commit is contained in:
parent
3920412b4b
commit
eda7a122db
2 changed files with 4 additions and 2 deletions
|
@ -82,7 +82,7 @@ func startDatabaseAPI(w http.ResponseWriter, r *http.Request) {
|
|||
if err != nil {
|
||||
errMsg := fmt.Sprintf("could not upgrade: %s", err)
|
||||
log.Error(errMsg)
|
||||
http.Error(w, errMsg, 400)
|
||||
http.Error(w, errMsg, http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue