api remove page title etc

This commit is contained in:
xiaomlove
2023-06-10 04:25:07 +08:00
parent f153b9ab9c
commit 8e156dcbea
11 changed files with 52 additions and 51 deletions

View File

@@ -31,8 +31,8 @@ class PeerController extends Controller
$response = [
'seeder_list' => [],
'leecher_list' => [],
'card_titles' => Peer::$cardTitles,
'page_title' => nexus_trans('peer.index.page_title'),
// 'card_titles' => Peer::$cardTitles,
// 'page_title' => nexus_trans('peer.index.page_title'),
];
$result = $this->repository->listPeers($request->torrent_id);
if ($result['seeder_list']->isNotEmpty()) {