diff --git a/src/main/java/wtf/triplapeeck/oatmeal/util/ORMLiteDatabaseUtil.java b/src/main/java/wtf/triplapeeck/oatmeal/util/ORMLiteDatabaseUtil.java index bf1536c..ea252fb 100644 --- a/src/main/java/wtf/triplapeeck/oatmeal/util/ORMLiteDatabaseUtil.java +++ b/src/main/java/wtf/triplapeeck/oatmeal/util/ORMLiteDatabaseUtil.java @@ -160,7 +160,7 @@ public static List getAllCustomResponseEntity() throws SQLE return customResponseDao.queryForAll(); } public static List queryAllCustomResponseEntity(MariaGuild data) throws SQLException { - return customResponseDao.queryForEq("guild", data); + return customResponseDao.queryForEq("guild_id", data); } public static void updateCustomResponseEntity(@NotNull MariaCustomResponse customResponse) throws SQLException { customResponseDao.createOrUpdate(customResponse);