GODT-1182: use correct contacts route

This commit is contained in:
James Houlahan
2021-05-27 13:58:06 +02:00
committed by Jakub
parent 885fb95454
commit 36fdb88d96

View File

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