Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
revision type 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Mar 4, 2024
1 parent dd7d938 commit 969f7db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public Mono<Void> 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()));
Expand Down

0 comments on commit 969f7db

Please sign in to comment.