mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
GODT-1182: use correct contacts route
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user