mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update user model relations
This commit is contained in:
+2
-2
@@ -52,11 +52,11 @@ class User extends Authenticatable
|
||||
|
||||
public function request()
|
||||
{
|
||||
return $this->hasMany('App\Models\UserRequest', 'id');
|
||||
return $this->hasMany('App\Models\UserRequest', 'users_id');
|
||||
}
|
||||
|
||||
public function download()
|
||||
{
|
||||
return $this->hasMany('App\Models\UserDownload', 'id');
|
||||
return $this->hasMany('App\Models\UserDownload', 'users_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user