1
0
Fork 0

Update LiveStreamController, clear chat cache when deleting stream

This commit is contained in:
Daniel Supernault 2022-06-26 19:50:40 -06:00
parent f51ffa7eab
commit f8e585c49a
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ class LiveStreamController extends Controller
->get()
->each(function($stream) {
Storage::deleteDirectory("public/live-hls/{$stream->stream_id}");
LiveStreamService::clearChat($stream->profile_id);
$stream->delete();
});