(Update) Announce Controller

This commit is contained in:
HDVinnie
2018-06-30 09:40:50 -04:00
committed by GitHub
parent 1271a43b78
commit 63890fc224
+1 -1
View File
@@ -147,7 +147,7 @@ class AnnounceController extends Controller
}
// Check Info Hash Against Torrents Table
$torrent = Torrent::where('info_hash', $info_hash)->first();
$torrent = Torrent::withAnyStatus()->where('info_hash', $info_hash)->first();
// If Torrent Doesnt Exsist Return Error to Client
if (!$torrent || $torrent->id < 0) {