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

@@ -28,10 +28,10 @@ class SnatchController extends Controller
]);
$snatches = $this->repository->listSnatches($request->torrent_id);
$resource = SnatchResource::collection($snatches);
$resource->additional([
'card_titles' => Snatch::$cardTitles,
'page_title' => nexus_trans('snatch.index.page_title'),
]);
// $resource->additional([
// 'card_titles' => Snatch::$cardTitles,
// 'page_title' => nexus_trans('snatch.index.page_title'),
// ]);
return $this->success($resource);
}