diff --git a/api/middleware/response.go b/api/middleware/response.go index adec21a6..7768ebd8 100644 --- a/api/middleware/response.go +++ b/api/middleware/response.go @@ -129,8 +129,6 @@ func WriteErrorResponse(w http.ResponseWriter, reqInfo *ReqInfo, err error) int // Set retry-after header to indicate user-agents to retry request after 120secs. // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After w.Header().Set(hdrRetryAfter, "120") - case "AccessDenied": - // TODO process when the request is from browser and also if browser } }