mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00: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