浏览代码

Update status model

Daniel Supernault 2 年之前
父节点
当前提交
8bcf3700ba
共有 1 个文件被更改,包括 1 次插入18 次删除
  1. 1 18
      app/Status.php

+ 1 - 18
app/Status.php

@@ -28,24 +28,7 @@ class Status extends Model
 	 */
 	protected $dates = ['deleted_at'];
 
-	protected $fillable = [
-		'scope',
-		'caption',
-		'rendered',
-		'url',
-		'uri',
-		'object_url',
-		'created_at',
-		'local',
-		'is_nsfw',
-		'scope',
-		'cw_summary',
-		'profile_id',
-		'visibility',
-		'in_reply_to_id',
-		'reblog_of_id',
-		'type'
-	];
+	protected $guarded = [];
 
 	const STATUS_TYPES = [
 		'text',