mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-04 15:27:55 +07:00
hotfix: fix subscription panic (#237)
This commit is contained in:
@ -170,6 +170,10 @@ func ResolveSubscription(log *logrus.Logger, client *http.Client, configDir stri
|
||||
if err != nil {
|
||||
return "", nil, err
|
||||
}
|
||||
resp, err = client.Do(req)
|
||||
if err != nil {
|
||||
return "", nil, err
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
b, err = io.ReadAll(resp.Body)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user