vorteil/direktiv

View on GitHub
pkg/gateway/plugins/auth/slack-event.go

Summary

Maintainability
A
50 mins
Test Coverage

Method SlackWebhookPlugin.Execute has 8 return statements (exceeds 4 allowed).
Open

func (p *SlackWebhookPlugin) Execute(w http.ResponseWriter, r *http.Request) *http.Request {
    // check request is already authenticated
    if gateway.ExtractContextActiveConsumer(r) != nil {
        return r
    }
Severity: Major
Found in pkg/gateway/plugins/auth/slack-event.go - About 50 mins to fix

    There are no issues that match your filters.

    Category
    Status