| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | package com.osomapps.pt.auth; |
||
| 8 | @RestController |
||
| 9 | @RequestMapping("api/v1/auth/user") |
||
| 10 | class AuthUserResource { |
||
| 11 | |||
| 12 | private final AuthUserService authUserService; |
||
| 13 | |||
| 14 | @Autowired |
||
| 15 | AuthUserResource(AuthUserService authUserService) { |
||
| 16 | this.authUserService = authUserService; |
||
| 17 | } |
||
| 18 | |||
| 19 | @GetMapping |
||
| 20 | AuthUserResponseDTO findOne() { |
||
| 21 | return authUserService.findOne(); |
||
| 22 | } |
||
| 24 |