Skip to content

Commit

Permalink
Update Hotstar.go
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS committed Jun 24, 2024
1 parent 640a7e2 commit b7cd772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asia/Hotstar.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func HotStar(c *http.Client) model.Result {
resp1, errs1 := client.R().Get("https://www.hotstar.com")
if errs1 != nil {
return model.Result{Name: name, Status: model.StatusUnexpected,
Err: fmt.Errorf("get api.hotstar.com failed with code: %d %d", resp.StatusCode, resp1.StatusCode)}
Err: fmt.Errorf("get api.hotstar.com failed with code1: %d", resp.StatusCode)}
}
defer resp1.Body.Close()
//b, err := io.ReadAll(resp1.Body)
Expand Down

0 comments on commit b7cd772

Please sign in to comment.