feat: Added basic user authorization
This commit is contained in:
@@ -110,6 +110,7 @@ func (r responseErrBuilder) Send(response http.ResponseWriter, request *http.Req
|
||||
r.status = http.StatusInternalServerError
|
||||
}
|
||||
|
||||
response.Header().Set("Content-Type", "application/json")
|
||||
response.WriteHeader(r.status)
|
||||
|
||||
_, err = response.Write(format)
|
||||
|
||||
Reference in New Issue
Block a user