소스 검색

Update Story model, hide json attribute by default

Daniel Supernault 5 년 전
부모
커밋
de89403c41
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/Story.php

+ 2 - 0
app/Story.php

@@ -30,6 +30,8 @@ class Story extends Model
 
 	protected $visible = ['id'];
 
+	protected $hidden = ['json'];
+
 	public function profile()
 	{
 		return $this->belongsTo(Profile::class);