mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 20:56:51 +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 {
|
if pageSize != 0 {
|
||||||
r.SetQueryParam("PageSize", strconv.Itoa(pageSize))
|
r.SetQueryParam("PageSize", strconv.Itoa(pageSize))
|
||||||
}
|
}
|
||||||
return r.SetResult(&res).Get("/contacts/v4")
|
return r.SetResult(&res).Get("/contacts/v4/emails")
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user