diff --git a/source/src/main/java/one/nem/lacerta/source/database/dao/DocumentDao.java b/source/src/main/java/one/nem/lacerta/source/database/dao/DocumentDao.java index 60fefe18..f744f160 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/dao/DocumentDao.java +++ b/source/src/main/java/one/nem/lacerta/source/database/dao/DocumentDao.java @@ -56,7 +56,6 @@ public interface DocumentDao { @Delete void deleteAll(List documents); - @Delete + @Query("DELETE FROM document WHERE id = :id") void deleteById(String id); - }