mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-09-01 02:44:13 +00:00
hotfix: typo issue that cause login failed.
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ class User extends AbstractModel implements
|
||||
*/
|
||||
public function companyModule(): belongsToMany
|
||||
{
|
||||
return $this->belongsToMany(companyModule::class, (new CompanyEmployee())->getTable(), 'user_id', 'company_module_id');
|
||||
return $this->belongsToMany(CompanyModule::class, (new CompanyEmployee())->getTable(), 'user_id', 'company_module_id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user