fix checksum issue
This commit is contained in:
@@ -167,7 +167,7 @@ func GetTorrents(accessToken string, customLimit int) ([]Torrent, int, error) {
|
||||
allTorrents = append(allTorrents, torrents...)
|
||||
|
||||
totalCountHeader := resp.Header.Get("x-total-count")
|
||||
totalCount, err := strconv.Atoi(totalCountHeader)
|
||||
totalCount, err = strconv.Atoi(totalCountHeader)
|
||||
if err != nil {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user