Update StatusDelete pipeline, fix object storage thumbnail deletion

This commit is contained in:
Daniel Supernault 2021-01-24 19:08:55 -07:00
parent 98c44f7bdb
commit f930c4bda2
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class StatusDelete implements ShouldQueue
->exists($media->thumbnail_path)
) {
Storage::disk(config('filesystems.cloud'))
->delete($media->media_path);
->delete($media->thumbnail_path);
}
}
$media->delete();