mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
fix report bug
This commit is contained in:
@@ -62,7 +62,7 @@ func (c *Client) ReportUserTraffic(userTraffic []UserTraffic) error {
|
||||
}
|
||||
const path = "/api/v1/server/UniProxy/push"
|
||||
res, err := c.client.R().
|
||||
SetBody(userTraffic).
|
||||
SetBody(data).
|
||||
ForceContentType("application/json").
|
||||
Post(path)
|
||||
err = c.checkResponse(res, path, err)
|
||||
|
||||
Reference in New Issue
Block a user