1
0
Fork 0
forked from mirror/pixelfed

Update Profile model, cast last_status_at as timestamp

This commit is contained in:
Daniel Supernault 2022-01-02 23:27:47 -07:00
parent bdc3ab17dc
commit a64aef6726
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -21,7 +21,8 @@ class Profile extends Model
protected $dates = [ protected $dates = [
'deleted_at', 'deleted_at',
'last_fetched_at' 'last_fetched_at',
'last_status_at'
]; ];
protected $hidden = ['private_key']; protected $hidden = ['private_key'];
protected $visible = ['id', 'user_id', 'username', 'name']; protected $visible = ['id', 'user_id', 'username', 'name'];