mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-23 22:44:19 +00:00
Merge branch 'hotfix-user-model-typo' into 'master'
hotfix: typo issue that cause login failed. See merge request CIEFWorldwideSdnBhd/shipping-portal!15
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