Skip to content

Commit 36fdb88

Browse files
James Houlahancuthix
authored andcommitted
GODT-1182: use correct contacts route
1 parent 885fb95 commit 36fdb88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/pmapi/contacts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func (c *client) GetContactEmailByEmail(ctx context.Context, email string, page
136136
if pageSize != 0 {
137137
r.SetQueryParam("PageSize", strconv.Itoa(pageSize))
138138
}
139-
return r.SetResult(&res).Get("/contacts/v4")
139+
return r.SetResult(&res).Get("/contacts/v4/emails")
140140
}); err != nil {
141141
return nil, err
142142
}

0 commit comments

Comments
 (0)