1
0
Fork 0
forked from mirror/pixelfed

Update MediaStorageService

This commit is contained in:
Daniel Supernault 2021-08-31 00:38:43 -06:00
parent 450154e5af
commit 07bc5d5c83
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -70,7 +70,7 @@ class MediaStorageService {
protected function localToCloud($media)
{
$path = storage_path('app/'.$media->media_path);
$thumb = storage_path('app/'.$media->thumbnail_path);
$thumb = storage_path('app/'.$media->thumbnail_path);
$p = explode('/', $media->media_path);
$name = array_pop($p);