lbryio/chainquery

View on GitHub
apiactions/default.go

Summary

Maintainability
A
45 mins
Test Coverage

Function AutoUpdateAction has 7 return statements (exceeds 4 allowed).
Open

func AutoUpdateAction(r *http.Request) api.Response {
    err := travis.ValidateSignature(true, r)
    if err != nil {
        logrus.Error(err)
        return api.Response{Error: err, Status: http.StatusBadRequest}
Severity: Major
Found in apiactions/default.go - About 45 mins to fix

2: cannot find package "github.com/lbryio/chainquery/db" in any of:
Open

    "github.com/lbryio/chainquery/db"
Severity: Minor
Found in apiactions/default.go by govet

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package apiactions
Severity: Minor
Found in apiactions/default.go by gofmt

There are no issues that match your filters.

Category
Status