Skip to content

Commit

Permalink
refactor(user): sout 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
qlido committed Apr 24, 2024
1 parent afd437b commit 5442876
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.project.bumawiki.domain.user.presentation;

import org.springframework.http.HttpStatus;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PatchMapping;
import org.springframework.web.bind.annotation.PathVariable;
Expand All @@ -21,8 +22,9 @@

import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@Validated
@RestController
@RequiredArgsConstructor
@RequestMapping("/api/user")
public class UserController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ public class CommandUserService {
private final UserUpdater userUpdater;

public void updateUserAuthority(Long id, Authority authority) {
System.out.println("updateUserAuthority");
User user = userReader.getById(id);
System.out.println("updateUserAuthority2");
userUpdater.updateAuthority(user, authority);
System.out.println("updateUserAuthority3");
}

}

0 comments on commit 5442876

Please sign in to comment.