mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update Profile model, cast timestamp for last_fetched_at
This commit is contained in:
parent
c7ccb26ffc
commit
6969bb5bb4
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,10 @@ class Profile extends Model
|
|||
*/
|
||||
public $incrementing = false;
|
||||
|
||||
protected $dates = ['deleted_at'];
|
||||
protected $dates = [
|
||||
'deleted_at',
|
||||
'last_fetched_at'
|
||||
];
|
||||
protected $hidden = ['private_key'];
|
||||
protected $visible = ['id', 'user_id', 'username', 'name'];
|
||||
protected $fillable = ['user_id'];
|
||||
|
|
Loading…
Reference in a new issue