Skip to content

Commit 5a13e04

Browse files
fxied HelpTransactionRepository#read
1 parent d5cfb01 commit 5a13e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/help/dao/HelpTransactionRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ private HelpTransaction read(ResultSet rs) throws SQLException {
8989
transaction.setId(rs.getLong("id"));
9090
transaction.setRecipient(rs.getLong("recipient"));
9191
transaction.setCreatedAt(rs.getTimestamp("created_at").toLocalDateTime());
92-
transaction.setWeight(rs.getDouble("value"));
92+
transaction.setWeight(rs.getDouble("weight"));
9393
transaction.setMessageType(rs.getInt("messageType"));
9494
return transaction;
9595
}

0 commit comments

Comments
 (0)