Skip to content

Commit

Permalink
Merge a51ee7a into e4cc07c
Browse files Browse the repository at this point in the history
  • Loading branch information
ullayne02 committed Feb 14, 2019
2 parents e4cc07c + a51ee7a commit 9407ea9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion label.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ func (b *Board) GetLabels(args Arguments) (labels []*Label, err error) {
path := fmt.Sprintf("boards/%s/labels", b.ID)
err = b.client.Get(path, args, &labels)
return
}
}

func (b *Board) CreateLabel(args Arguments) (label *Label, err error) {
path := fmt.Sprintf("boards/%s/labels/", b.ID)
err = b.client.Post(path, args, &label)
return
}

0 comments on commit 9407ea9

Please sign in to comment.