mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-09-13 00:45:09 -04:00
CreatorStudio Filtering Updates
This commit is contained in:
@@ -68,6 +68,8 @@ class VideoUrlsController extends Controller
|
||||
'status' => StudioPlusVideo::STATUS_PUBLISHED
|
||||
]);
|
||||
|
||||
(new VideoInvoice())->addIncentiveItem($video);
|
||||
|
||||
StudioPlusVideoStatusTrack::firstOrCreate([
|
||||
'studio_plus_video_id' => $video->id,
|
||||
'name' => StudioPlusVideo::STATUS_PUBLISHED
|
||||
@@ -78,8 +80,6 @@ class VideoUrlsController extends Controller
|
||||
'name' => $request->label.' URL Added'
|
||||
]);
|
||||
|
||||
(new VideoInvoice())->addIncentiveItem($video);
|
||||
|
||||
return response()->json([
|
||||
'message' => 'Video url has been saved.',
|
||||
'url' => $url,
|
||||
@@ -164,7 +164,7 @@ class VideoUrlsController extends Controller
|
||||
'urls',
|
||||
]);
|
||||
|
||||
(new VideoInvoice())->addIncentiveItem($video);
|
||||
//(new VideoInvoice())->addIncentiveItem($video);
|
||||
|
||||
return response()->json([
|
||||
'message' => 'Video url has been deleted.',
|
||||
|
||||
Reference in New Issue
Block a user