diff --git a/src/main/java/com/example/daemawiki/domain/common/UserFilter.java b/src/main/java/com/example/daemawiki/domain/common/UserFilter.java index 2e31c5cf..2f5ee77d 100644 --- a/src/main/java/com/example/daemawiki/domain/common/UserFilter.java +++ b/src/main/java/com/example/daemawiki/domain/common/UserFilter.java @@ -24,9 +24,8 @@ public void userPermissionCheck(DefaultDocument document, String userEmail) { } } - public DefaultDocument checkUserAndDocument(User user, DefaultDocument document, Integer version) { + public void checkUserAndDocument(User user, DefaultDocument document, Integer version) { userPermissionAndDocumentVersionCheck(document, user.getEmail(), version); - return document; } }