Fix free leech amount when featured

Set free to be 100 if the torrent is featured using the api
This commit is contained in:
Jay
2022-04-24 11:22:38 +02:00
committed by GitHub
parent 34fdb4d43b
commit 30985fa6c3
@@ -150,7 +150,7 @@ class TorrentController extends BaseController
// Set freeleech and doubleup if featured
if ($torrent->featured == 1) {
$torrent->free = '1';
$torrent->free = '100';
$torrent->doubleup = '1';
}