From 36fdb88d96f82de1224b732d4c1b88e47fbba7a9 Mon Sep 17 00:00:00 2001 From: James Houlahan Date: Thu, 27 May 2021 13:58:06 +0200 Subject: [PATCH] GODT-1182: use correct contacts route --- pkg/pmapi/contacts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pmapi/contacts.go b/pkg/pmapi/contacts.go index 0bfd7584..37583f40 100644 --- a/pkg/pmapi/contacts.go +++ b/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 }