1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2024-11-30 08:47:11 +02:00

beat testing 1

This commit is contained in:
Chhekur 2021-08-24 01:33:09 +05:30
parent e201ce4587
commit 9f1239e288

View File

@ -524,6 +524,8 @@ func (t *JWTAuthTransport) RoundTrip(req *http.Request) (*http.Response, error)
// return nil, errors.Wrap(err, "jwtAuth: error signing JWT")
// }
fmt.Println(t.Jwt, " this is JWT from library RoundTrip method")
req2.Header.Set("Authorization", fmt.Sprintf("JWT %s", t.Jwt))
return t.transport().RoundTrip(req2)
}