mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-04-13 11:40:36 +02:00
Fix error in the example code in README
This commit is contained in:
parent
570a74be05
commit
83c019a2fa
@ -193,7 +193,7 @@ func main() {
|
||||
req, _ := jiraClient.NewRequest("GET", "rest/api/2/project", nil)
|
||||
|
||||
projects := new([]jira.Project)
|
||||
_, err := jiraClient.Do(req, projects)
|
||||
_, err = jiraClient.Do(req, projects)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user