We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d2ee19 commit 5ed35ccCopy full SHA for 5ed35cc
backend/src/main/java/io/f1/backend/domain/user/api/UserController.java
@@ -12,13 +12,13 @@
12
13
import org.springframework.http.ResponseEntity;
14
import org.springframework.security.core.annotation.AuthenticationPrincipal;
15
-import org.springframework.stereotype.Controller;
16
import org.springframework.web.bind.annotation.DeleteMapping;
17
import org.springframework.web.bind.annotation.PutMapping;
18
import org.springframework.web.bind.annotation.RequestBody;
19
import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
20
21
-@Controller
+@RestController
22
@RequiredArgsConstructor
23
@RequestMapping("/user/me")
24
public class UserController {
0 commit comments