mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update ComposeController, update media version
This commit is contained in:
parent
4c148055cf
commit
cc2d4bf8d8
1 changed files with 1 additions and 1 deletions
|
@ -114,6 +114,7 @@ class ComposeController extends Controller
|
|||
$media->mime = $photo->getMimeType();
|
||||
$media->filter_class = $filterClass;
|
||||
$media->filter_name = $filterName;
|
||||
$media->version = 3;
|
||||
$media->save();
|
||||
|
||||
// $url = URL::temporarySignedRoute(
|
||||
|
@ -166,7 +167,6 @@ class ComposeController extends Controller
|
|||
->whereNull('status_id')
|
||||
->findOrFail($id);
|
||||
|
||||
$media->version = 2;
|
||||
$media->save();
|
||||
|
||||
$fragments = explode('/', $media->media_path);
|
||||
|
|
Loading…
Reference in a new issue