From 28b9852b810f8a6977532a328e430faa35ffa5d9 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Mon, 16 Sep 2024 18:56:13 +0200 Subject: [PATCH] forgot to update one thing --- src/main/java/eu/m724/talkpages/page/action/AccountService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/m724/talkpages/page/action/AccountService.java b/src/main/java/eu/m724/talkpages/page/action/AccountService.java index f30f55d..ae57dfb 100644 --- a/src/main/java/eu/m724/talkpages/page/action/AccountService.java +++ b/src/main/java/eu/m724/talkpages/page/action/AccountService.java @@ -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;