mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +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().
|
||||
ForceContentType("application/json").
|
||||
Get(path)
|
||||
if err != nil {
|
||||
if err != nil || r.StatusCode() >= 399 {
|
||||
return make(map[int]int), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user