mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 06:51:27 +00:00
Merge pull request #887 from pixelfed/frontend-ui-refactor
Update BaseApiController
This commit is contained in:
commit
afb8d2e3aa
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ class BaseApiController extends Controller
|
|||
$media->original_sha256 = $hash;
|
||||
$media->size = $photo->getSize();
|
||||
$media->mime = $photo->getMimeType();
|
||||
$media->filter_class = $request->input('filter_class') ?? 'filter_1977';
|
||||
$media->filter_class = $request->input('filter_class');
|
||||
$media->filter_name = $request->input('filter_name');
|
||||
$media->save();
|
||||
|
||||
|
|
Loading…
Reference in a new issue