mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 20:50:09 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7184e49650 |
@@ -60,7 +60,7 @@ func (c *Client) GetUserAlive() (map[int]int, error) {
|
|||||||
r, err := c.client.R().
|
r, err := c.client.R().
|
||||||
ForceContentType("application/json").
|
ForceContentType("application/json").
|
||||||
Get(path)
|
Get(path)
|
||||||
if err != nil {
|
if err != nil || r.StatusCode() >= 399 {
|
||||||
return make(map[int]int), nil
|
return make(map[int]int), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user