mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2026-02-10 11:08:33 +00:00
feat: switch to proxy when need be
This commit is contained in:
@ -93,7 +93,7 @@ func (u *User) KeyRing() *pmcrypto.KeyRing {
|
||||
|
||||
// UpdateUser retrieves details about user and loads its addresses.
|
||||
func (c *Client) UpdateUser() (user *User, err error) {
|
||||
req, err := NewRequest("GET", "/users", nil)
|
||||
req, err := c.NewRequest("GET", "/users", nil)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user