diff --git a/data/src/main/java/one/nem/lacerta/data/Document.java b/data/src/main/java/one/nem/lacerta/data/Document.java index 0904c3a2..cd38acfc 100644 --- a/data/src/main/java/one/nem/lacerta/data/Document.java +++ b/data/src/main/java/one/nem/lacerta/data/Document.java @@ -20,7 +20,7 @@ public interface Document { CompletableFuture deleteDocument(String documentId); - CompletableFuture updateDocument(DocumentMeta meta, DocumentDetail detail); + CompletableFuture updateDocument(DocumentDetail detail); CompletableFuture getDocument(String documentId); } diff --git a/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java index 331b9422..8898731a 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/DocumentImpl.java @@ -117,7 +117,7 @@ public class DocumentImpl implements Document { } @Override - public CompletableFuture updateDocument(DocumentMeta meta, DocumentDetail detail) { + public CompletableFuture updateDocument(DocumentDetail detail) { return CompletableFuture.supplyAsync(() -> { return null; });