Skip to content

Commit 05d15d9

Browse files
authored
Update Follower.php
1 parent f300e0c commit 05d15d9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/Models/Follower.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ class Follower extends Model
4040

4141
public $visible = ['profile_id', 'following_id'];
4242

43+
protected $casts = [
44+
'profile_is_local' => 'boolean',
45+
'following_is_local' => 'boolean',
46+
];
47+
4348
public function profile()
4449
{
4550
return $this->belongsTo(Profile::class, 'profile_id');

0 commit comments

Comments
 (0)