forked from mirror/pixelfed
Update User model, fix filter relationship
This commit is contained in:
parent
7f6b481734
commit
5a0c295ed1
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class User extends Authenticatable
|
||||||
|
|
||||||
public function filters()
|
public function filters()
|
||||||
{
|
{
|
||||||
return $this->hasMany(UserFilter::class);
|
return $this->hasMany(UserFilter::class, 'user_id', 'profile_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function receivesBroadcastNotificationsOn()
|
public function receivesBroadcastNotificationsOn()
|
||||||
|
|
Loading…
Reference in a new issue