mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 15:46:44 +00:00
feat: switch to proxy when need be
This commit is contained in:
@ -28,7 +28,7 @@ func (c *Client) SendSimpleMetric(category, action, label string) (err error) {
|
||||
v.Set("Action", action)
|
||||
v.Set("Label", label)
|
||||
|
||||
req, err := NewRequest("GET", "/metrics?"+v.Encode(), nil)
|
||||
req, err := c.NewRequest("GET", "/metrics?"+v.Encode(), nil)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user