Browse Source

Update Profile Model

Daniel Supernault 6 năm trước cách đây
mục cha
commit
dc2a3da72d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()
     {