fix
This commit is contained in:
@@ -90,7 +90,7 @@ public class AccountRepository : AppRepository<Account>, IAccountRepository
|
||||
public Account? Get(Guid userId, Guid id)
|
||||
{
|
||||
return _context.Accounts!
|
||||
.Include(x => x.Categories)!
|
||||
.Include(x => x.Categories!.Where(c => c.Category.UserId == userId))!
|
||||
.ThenInclude(x => x.Category)
|
||||
.Include(x => x.AccessRights)!
|
||||
.ThenInclude(x => x.User)
|
||||
|
||||
Reference in New Issue
Block a user