From 1f3acdd056f58b12281911c6575018e4026a88d7 Mon Sep 17 00:00:00 2001 From: Adrian Ocneanu Date: Tue, 18 Sep 2018 07:39:22 +0300 Subject: [PATCH] fixes #6 --- src/app/Models/Avatar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Models/Avatar.php b/src/app/Models/Avatar.php index 9063402..3729666 100644 --- a/src/app/Models/Avatar.php +++ b/src/app/Models/Avatar.php @@ -17,7 +17,7 @@ class Avatar extends Model implements Attachable protected $optimizeImages = true; protected $resizeImages = [self::ImageWidth, self::ImageHeight]; - protected $mimeTypes = ['image/png', 'image/jpg']; + protected $mimeTypes = ['image/png', 'image/jpg', 'image/jpeg']; protected $fillable = ['user_id', 'original_name', 'saved_name']; protected $hidden = ['user_id', 'created_at', 'updated_at'];