Merge pull request #3803 from syntafin/dev

Fix Emoji Mime Type Validation
pull/4223/head
daniel 2 years ago committed by GitHub
commit b51bacf672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save