Workaround for Guild dependence on NoteDao

This commit is contained in:
P0nk
2022-12-27 11:05:00 +01:00
parent af14da987e
commit 387437cada
4 changed files with 8 additions and 19 deletions

View File

@@ -11,7 +11,7 @@ import java.util.Optional;
public class NoteDao {
public static void save(Note note) {
public void save(Note note) {
try (Handle handle = DatabaseConnection.getHandle()) {
handle.createUpdate("""
INSERT INTO notes (`message`, `from`, `to`, `timestamp`, `fame`, `deleted`)