1
0
Fork 0

Update BaseApiController

This commit is contained in:
Daniel Supernault 2019-02-25 19:04:59 -07:00
parent a5742f5729
commit bb0c9fb585
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

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