I'm running into an issue when making use of the userTenantRepo's belongsTo functions. The role, user and tenant properties are returning undefined when called with the userTenant's id.
The following are rows in my user_tenants and roles table. The user is super_admin
The code for the user_tenant model and repository are unchanged, same with the role model and repo.
I'm running into an issue when making use of the userTenantRepo's belongsTo functions. The role, user and tenant properties are returning undefined when called with the userTenant's id.
The following are rows in my user_tenants and roles table. The user is super_admin
The code for the user_tenant model and repository are unchanged, same with the role model and repo.
Any advice would be appreciated, thanks.