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
|
// TODO I think it would be better to accept InetAddress
|
||||||
@Transactional
|
@Transactional
|
||||||
public Account addressAccount(String address) {
|
public Account addressAccount(String address) {
|
||||||
Account account = Account.findById(address);
|
Account account = Account.findByName(address);
|
||||||
|
|
||||||
if (account != null)
|
if (account != null)
|
||||||
return account;
|
return account;
|
||||||
|
|
Loading…
Reference in a new issue