Browse Source

Update Status model

Daniel Supernault 6 năm trước cách đây
mục cha
commit
3d7c97b0ed
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      app/Status.php

+ 2 - 1
app/Status.php

@@ -18,13 +18,14 @@ class Status extends Model
      */
     protected $dates = ['deleted_at'];
 
-    protected $fillable = ['profile_id', 'visibility', 'in_reply_to_id'];
+    protected $fillable = ['profile_id', 'visibility', 'in_reply_to_id', 'reblog_of_id'];
 
     const STATUS_TYPES = [
         'photo',
         'photo:album',
         'video',
         'video:album',
+        'photo:video:album'
         'share',
         'reply',
         'story',