mirror of
https://github.com/koel/koel
synced 2025-02-26 04:07:18 +00:00
Hide unnecesaary id from interaction JSON
This commit is contained in:
parent
9a84943f39
commit
9068a1a530
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ class Interaction extends Model
|
|||
|
||||
protected $guarded = ['id'];
|
||||
|
||||
protected $hidden = ['user_id', 'created_at', 'updated_at'];
|
||||
protected $hidden = ['id', 'user_id', 'created_at', 'updated_at'];
|
||||
|
||||
public function user()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue