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

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();