1
0
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:
Issei Horie 2018-11-18 00:49:20 +09:00 committed by Andy Grunwald
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)
}