scrape add cache

This commit is contained in:
xiaomlove
2023-03-04 00:52:08 +08:00
parent 285c6defdf
commit ae7634a8db
4 changed files with 79 additions and 31 deletions
+1 -1
View File
@@ -1132,7 +1132,7 @@ function get_passkey_by_authkey($authkey)
}
$uid = $arr[1];
$torrentRep = new \App\Repositories\TorrentRepository();
$decrypted = $torrentRep->checkTrackerReportAuthKey($_REQUEST['authkey']);
$decrypted = $torrentRep->checkTrackerReportAuthKey($authkey);
if (empty($decrypted)) {
throw new \InvalidArgumentException("Invalid authkey: $authkey");
}