Add get-jira-ticket command
This commit is contained in:
parent
5d727b8995
commit
0ae0c6ffdf
4 changed files with 72 additions and 13 deletions
|
@ -6,7 +6,7 @@ import (
|
|||
)
|
||||
|
||||
func Do(method, username, token, url string, body []byte) (*http.Response, error) {
|
||||
req, err := http.NewRequest("POST", url, bytes.NewBuffer(body))
|
||||
req, err := http.NewRequest(method, url, bytes.NewBuffer(body))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue