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:
parent
e201ce4587
commit
9f1239e288
2
jira.go
2
jira.go
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user