Commit 59dc7cdc authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use *API receiver

parent a63a8da1
......@@ -4,7 +4,7 @@ import (
"net/http"
)
func (api API) artifactsAuthorizeHandler(h httpHandleFunc) httpHandleFunc {
func (api *API) artifactsAuthorizeHandler(h httpHandleFunc) httpHandleFunc {
return api.preAuthorizeHandler(func(w http.ResponseWriter, r *http.Request, a *authorizationResponse) {
r.Header.Set(tempPathHeader, a.TempPath)
h(w, r)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment