Skip to content

Commit

Permalink
Update NPOStartPlus.go
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS committed Jun 22, 2024
1 parent ef12b41 commit 6fc627e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nl/NPOStartPlus.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ func NPOStartPlus(c *http.Client) model.Result {
referrerURL := "https://npo.nl/start/live?channel=NPO1"
client := utils.Req(c)
resp, err := client.R().Get(tokenURL)
defer resp.Body.Close()
if err != nil {
return model.Result{Name: name, Status: model.StatusNetworkErr, Err: err}
}
defer resp.Body.Close()
b, err := io.ReadAll(resp.Body)
if err != nil {
return model.Result{Name: name, Status: model.StatusNetworkErr, Err: err}
Expand Down

0 comments on commit 6fc627e

Please sign in to comment.