Skip to content

Commit

Permalink
feat: remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMarble committed Apr 16, 2024
1 parent 8a20497 commit b676dee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/prowlarr/prowlarr.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,13 @@ func (c *Client) Search(config *SearchConfig) ([]SearchResult, error) {
if err := json.NewDecoder(resp.Body).Decode(&results); err != nil {
return nil, err
}
println("results: ", len(results))
if config.FreeLeech {
freeleechResults := make([]SearchResult, 0)
for _, result := range results {
if result.IsFreeleech() {
freeleechResults = append(freeleechResults, result)
}
}
println("freeleech: ", len(freeleechResults))

return freeleechResults, nil
}
Expand Down

0 comments on commit b676dee

Please sign in to comment.