Răsfoiți Sursa

Update Profile Model

Daniel Supernault 6 ani în urmă
părinte
comite
dc2a3da72d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      app/Profile.php

+ 1 - 1
app/Profile.php

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