1
0
Fork 0
forked from mirror/pixelfed

Update User model, fix filter relationship

This commit is contained in:
Daniel Supernault 2019-09-25 00:24:13 -06:00
parent 7f6b481734
commit 5a0c295ed1
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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()