mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Merge Books class with BookInfo model and create services and resources
This commit is contained in:
@@ -14,8 +14,8 @@ use App\Models\UserDownload;
|
||||
use App\Models\Video;
|
||||
use App\Services\MovieService;
|
||||
use App\Services\Releases\ReleaseSearchService;
|
||||
use App\Services\BookService;
|
||||
use Blacklight\AniDB;
|
||||
use Blacklight\Books;
|
||||
use Blacklight\Console;
|
||||
use Blacklight\Games;
|
||||
use Blacklight\Music;
|
||||
@@ -119,7 +119,7 @@ class DetailsController extends BasePageController
|
||||
|
||||
$book = '';
|
||||
if ($data['bookinfo_id'] !== '') {
|
||||
$book = (new Books)->getBookInfo($data['bookinfo_id']);
|
||||
$book = (new BookService)->getBookInfo($data['bookinfo_id']);
|
||||
}
|
||||
|
||||
$con = '';
|
||||
|
||||
Reference in New Issue
Block a user