mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-30 20:16:46 -04:00
StudioPlus Module Update - Ott data clear cache
This commit is contained in:
@@ -930,6 +930,10 @@ class StudioPlusVideoController extends Controller
|
||||
'urls',
|
||||
]);
|
||||
|
||||
Cache::forget('ott_video_' . $video->id);
|
||||
Cache::forget('ott_creator_videos_' . $video->channel->user_id);
|
||||
|
||||
|
||||
return response()->json([
|
||||
'message' => 'Video has been updated.',
|
||||
'video' => $video
|
||||
@@ -1242,6 +1246,8 @@ class StudioPlusVideoController extends Controller
|
||||
'urls',
|
||||
]);
|
||||
|
||||
Cache::forget('ott_creator_videos_' . $studioPlusVideo->channel->user_id);
|
||||
|
||||
return response()->json([
|
||||
'message' => 'Video primary tags has been saved.',
|
||||
'video' => $studioPlusVideo
|
||||
|
||||
Reference in New Issue
Block a user