PeerRails/auth-kite

View on GitHub
auth_kite.go

Summary

Maintainability
A
35 mins
Test Coverage

Function AuthKeyHandler has 5 return statements (exceeds 4 allowed).
Open

func AuthKeyHandler(w http.ResponseWriter, r *http.Request) {
    w.Header().Set("Content-Type", "application/json")
    keyParam := r.URL.Query().Get("key")
    log.Info("Request Auth Key: ", keyParam)

Severity: Major
Found in auth_kite.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status