fix(registries): sync code with ee [EE-2176] (#6355)

fixes [EE-2176]
pull/6378/head
Chaim Lev-Ari 2022-01-11 07:35:09 +02:00 committed by GitHub
parent bc54d687be
commit 389561eb28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func (transport *Transport) RoundTrip(request *http.Request) (*http.Response, er
return nil, errors.New("no gitlab token provided")
}
r, err := http.NewRequest(request.Method, request.URL.String(), nil)
r, err := http.NewRequest(request.Method, request.URL.String(), request.Body)
if err != nil {
return nil, err
}