mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 00:01:00 +08:00
api remove page title etc
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user