Explorar el Código

Update Profile Model

Daniel Supernault hace 6 años
padre
commit
dc2a3da72d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()
     {