mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Fix Emoji Mime Type Validation
This commit is contained in:
parent
59e818cbbd
commit
fdb227e155
1 changed files with 4 additions and 4 deletions
|
@ -518,7 +518,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