Skip to content

Commit

Permalink
GODT-1182: use correct contacts route
Browse files Browse the repository at this point in the history
  • Loading branch information
James Houlahan authored and cuthix committed May 27, 2021
1 parent 885fb95 commit 36fdb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pmapi/contacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (c *client) GetContactEmailByEmail(ctx context.Context, email string, page
if pageSize != 0 {
r.SetQueryParam("PageSize", strconv.Itoa(pageSize))
}
return r.SetResult(&res).Get("/contacts/v4")
return r.SetResult(&res).Get("/contacts/v4/emails")
}); err != nil {
return nil, err
}
Expand Down

0 comments on commit 36fdb88

Please sign in to comment.