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

Commit

Permalink
리팩토링
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Mar 9, 2024
1 parent 232bf76 commit 023ce65
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,8 @@ private DefaultDocument updateDocument(DefaultDocument document, EditContentTabl
}

private Mono<Void> createRevision(DefaultDocument document) {
return revisionComponent.saveHistory(SaveRevisionHistoryRequest.builder()
.type(RevisionType.UPDATE)
.documentId(document.getId())
.title(document.getTitle())
.build());
return revisionComponent.saveHistory(SaveRevisionHistoryRequest
.create(RevisionType.UPDATE, document.getId(), document.getTitle()));
}

}

0 comments on commit 023ce65

Please sign in to comment.