Skip to content

Commit

Permalink
Updated godoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tamccall committed Dec 12, 2019
1 parent 9653508 commit 7b87871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zendesk/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ func (r *SearchResults) List() []interface{} {
return r.results
}

// GetTriggers fetch trigger list
// Search allows users to query zendesk's unified search api.
//
// ref: https://developer.zendesk.com/rest_api/docs/support/triggers#getting-triggers
// ref: https://developer.zendesk.com/rest_api/docs/support/search
func (z *Client) Search(ctx context.Context, opts *SearchOptions) (SearchResults, Page, error) {
var data struct {
Results SearchResults `json:"results"`
Expand Down

0 comments on commit 7b87871

Please sign in to comment.