Fix sql query for fetching name of user account
This commit is contained in:
parent
01855ba1ce
commit
9465ab40ab
@ -75,7 +75,7 @@ public class ReportRepository extends MinecraftRepository
|
||||
" AND reportReasons.reporterId = ?" +
|
||||
" AND reportResults.resultId = ?;";
|
||||
|
||||
private static final String GET_ACCOUNT_NAME = "SELECT id, name` FROM accounts" +
|
||||
private static final String GET_ACCOUNT_NAME = "SELECT id, `name` FROM accounts" +
|
||||
" WHERE id = ?" +
|
||||
" LIMIT 1;";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user