forgot to update one thing
This commit is contained in:
parent
6197b4ec9a
commit
28b9852b81
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ public class AccountService {
|
|||
// TODO I think it would be better to accept InetAddress
|
||||
@Transactional
|
||||
public Account addressAccount(String address) {
|
||||
Account account = Account.findById(address);
|
||||
Account account = Account.findByName(address);
|
||||
|
||||
if (account != null)
|
||||
return account;
|
||||
|
|
Loading…
Reference in a new issue