mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Merge pull request #3803 from syntafin/dev
Fix Emoji Mime Type Validation
This commit is contained in:
commit
b51bacf672
1 changed files with 4 additions and 4 deletions
|
@ -523,7 +523,7 @@ class AdminController extends Controller
|
|||
->whereShortcode($request->input('shortcode'));
|
||||
})
|
||||
],
|
||||
'emoji' => 'required|file|mimetypes:jpg,png|max:' . (config('federation.custom_emoji.max_size') / 1000)
|
||||
'emoji' => 'required|file|mimes:jpg,png|max:' . (config('federation.custom_emoji.max_size') / 1000)
|
||||
]);
|
||||
|
||||
$emoji = new CustomEmoji;
|
||||
|
|
Loading…
Reference in a new issue