api/siri_lite_handler.go

Summary

Maintainability
A
35 mins
Test Coverage

Method SIRILiteHandler.serve has 5 return statements (exceeds 4 allowed).
Open

func (handler *SIRILiteHandler) serve(response http.ResponseWriter, request *http.Request, requestData *SIRIRequestData) {
    if handler.token == "" {
        http.Error(response, "No Authorization Token", http.StatusUnauthorized)
        return
    }
Severity: Major
Found in api/siri_lite_handler.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status