forgot to update one thing

This commit is contained in:
Minecon724 2024-09-16 18:56:13 +02:00
parent 6197b4ec9a
commit 28b9852b81
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -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;