mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-08-03 15:17:03 -04:00
Updated to latest
This commit is contained in:
@@ -14,12 +14,16 @@ use Modules\StudioPlus\Entities\StudioPlusVideo;
|
||||
use Modules\StudioPlus\Services\AmazonProductService;
|
||||
use Modules\StudioPlus\Services\AugmentationService;
|
||||
use Modules\StudioPlus\Services\ProductBarcodeService;
|
||||
use Modules\Language\Repositories\LanguageRepository;
|
||||
|
||||
class StudioPlusController extends Controller
|
||||
{
|
||||
public function __construct()
|
||||
protected $languagesRepository;
|
||||
|
||||
public function __construct(LanguageRepository $languagesRepository)
|
||||
{
|
||||
(new AugmentationService);
|
||||
$this->languagesRepository = $languagesRepository;
|
||||
}
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
@@ -64,12 +68,15 @@ class StudioPlusController extends Controller
|
||||
$start_date = Carbon::create($current_year, $current_month, 1)->startOfDay();
|
||||
$end_date = $start_date->copy()->endOfMonth();
|
||||
|
||||
$languages = $this->languagesRepository->getActiveAll();
|
||||
|
||||
return view('studioplus::studio', [
|
||||
'channel' => $studioPlusChannel,
|
||||
'videos' => $videos,
|
||||
'columns' => $columns,
|
||||
'start_date' => $start_date,
|
||||
'end_date' => $end_date
|
||||
'end_date' => $end_date,
|
||||
'languages' => $languages
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -132,6 +139,7 @@ class StudioPlusController extends Controller
|
||||
//'thumbnails',
|
||||
'category',
|
||||
'videoType',
|
||||
'otts.links',
|
||||
'asinData',
|
||||
'channel.user',
|
||||
'urls',
|
||||
|
||||
Reference in New Issue
Block a user