diff --git a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java index 01a7209f..3a182552 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java @@ -18,11 +18,14 @@ import one.nem.lacerta.utils.LacertaLogger; public class LacertaLibraryImpl implements LacertaLibrary { - @Inject LacertaLogger logger; + LacertaDatabase database; @Inject - LacertaDatabase database; + public LacertaLibraryImpl(LacertaLogger logger, LacertaDatabase database) { + this.logger = logger; + this.database = database; + } @Override public ArrayList getRecentDocument(int limit) {