Browse Source

Update FollowRequest model

Daniel Supernault 6 years ago
parent
commit
13894415ee
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/FollowRequest.php

+ 2 - 0
app/FollowRequest.php

@@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model;
 
 class FollowRequest extends Model
 {
+	protected $fillable = ['follower_id', 'following_id'];
+	
     public function follower()
     {
         return $this->belongsTo(Profile::class, 'follower_id', 'id');