Jelajahi Sumber

Merge pull request #1447 from pixelfed/frontend-ui-refactor

Update Profile model
daniel 6 tahun lalu
induk
melakukan
0cf6f5e5b3
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app/Profile.php

+ 1 - 0
app/Profile.php

@@ -13,6 +13,7 @@ class Profile extends Model
     protected $dates = ['deleted_at'];
     protected $dates = ['deleted_at'];
     protected $hidden = ['private_key'];
     protected $hidden = ['private_key'];
     protected $visible = ['id', 'user_id', 'username', 'name'];
     protected $visible = ['id', 'user_id', 'username', 'name'];
+    protected $fillable = ['user_id'];
 
 
     public function user()
     public function user()
     {
     {