فهرست منبع

Update Status model

Daniel Supernault 6 سال پیش
والد
کامیت
3d7c97b0ed
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  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',