return externalAccountRepository.findAccount(id);
}
public List<ExternalAccountSummary> getAccountSummaries(String username) {
User user = getUser(username);
// Get a list of accessible accounts
List<ExternalAccount> accessibleAccounts =
externalAccountRepository.findAccountsWithPermission(
user, ExternalAccountPermission.FullAccess);