Explorar el Código

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

Update Profile model
daniel hace 6 años
padre
commit
0cf6f5e5b3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Profile.php

+ 1 - 0
app/Profile.php

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