GODT-1182: use correct contacts route

create-reload-action
James Houlahan 5 years ago committed by Jakub
parent 885fb95454
commit 36fdb88d96
  1. 2
      pkg/pmapi/contacts.go

@ -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
}

Loading…
Cancel
Save