diff --git a/src/main/java/com/example/daemawiki/domain/content/service/DeleteContent.java b/src/main/java/com/example/daemawiki/domain/content/service/DeleteContent.java index a27507ca..4279e509 100644 --- a/src/main/java/com/example/daemawiki/domain/content/service/DeleteContent.java +++ b/src/main/java/com/example/daemawiki/domain/content/service/DeleteContent.java @@ -41,7 +41,7 @@ public Mono execute(DeleteContentRequest request, String documentId) { document.getContent().removeIf(c -> c.getIndex().equals(request.index())); return documentFacade.saveDocument(document) .then(revisionComponent.saveHistory(SaveRevisionHistoryRequest.builder() - .type(RevisionType.DELETE) + .type(RevisionType.UPDATE) .documentId(documentId) .title(document.getTitle()) .build()));