mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-23 23:49:53 +01:00
Hide created/updated timestamp group attributes from api response
This commit is contained in:
parent
105b932a26
commit
630d3b9a87
@ -24,6 +24,14 @@ class Group extends Model
|
||||
protected $appends = ['isActive'];
|
||||
|
||||
|
||||
/**
|
||||
* The attributes that should be hidden for arrays.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $hidden = ['created_at', 'updated_at'];
|
||||
|
||||
|
||||
/**
|
||||
* Get the TwoFAccounts of the group.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user