Update StatusDelete pipeline, fix object storage thumbnail deletion

pull/2587/head
Daniel Supernault 4 years ago
parent 98c44f7bdb
commit f930c4bda2
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save