This commit is contained in:
Gordon 2021-11-03 09:37:26 +08:00
parent 6d67bb9d65
commit b219f8542b

View File

@ -42,6 +42,9 @@ func JGAccountListPush(accounts []string, jsonCustomContent string, platform str
req.Header.Set("Authorization", common.GetAuthorization(config.Config.Push.Jpns.AppKey, config.Config.Push.Jpns.MasterSecret))
resp, err := client.Do(req)
if err != nil {
return nil, err
}
defer resp.Body.Close()
if err != nil {
return nil, err