mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix test
This commit is contained in:
@ -147,7 +147,7 @@ class Company extends Model implements HasMedia
|
||||
|
||||
public function users()
|
||||
{
|
||||
return $this->belongsToMany(User::class, 'user_company', 'user_id', 'company_id');
|
||||
return $this->belongsToMany(User::class, 'user_company', 'company_id', 'user_id');
|
||||
}
|
||||
|
||||
public function setupRoles()
|
||||
|
||||
Reference in New Issue
Block a user