Skip to content

Commit 5ed35cc

Browse files
committed
🐛 fix: @controller -> @RestController 수정
1 parent 8d2ee19 commit 5ed35cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/src/main/java/io/f1/backend/domain/user/api/UserController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
import org.springframework.http.ResponseEntity;
1414
import org.springframework.security.core.annotation.AuthenticationPrincipal;
15-
import org.springframework.stereotype.Controller;
1615
import org.springframework.web.bind.annotation.DeleteMapping;
1716
import org.springframework.web.bind.annotation.PutMapping;
1817
import org.springframework.web.bind.annotation.RequestBody;
1918
import org.springframework.web.bind.annotation.RequestMapping;
19+
import org.springframework.web.bind.annotation.RestController;
2020

21-
@Controller
21+
@RestController
2222
@RequiredArgsConstructor
2323
@RequestMapping("/user/me")
2424
public class UserController {

0 commit comments

Comments
 (0)