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:
Fairuz
2021-07-14 02:10:01 +00:00
+1 -1
View File
@@ -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');
}
/**