fix: resolve CI compile failure and complete OAuth2 review fixes

Agent-Logs-Url: https://github.com/devitq/movienight-backend/sessions/62eaa8e4-560b-4737-be4b-478f1a4c484a

Co-authored-by: devitq <118541411+devitq@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-14 21:01:25 +03:00
committed by skettiks
co-authored by devitq
parent aecf19aa11
commit d4dbc108c8
6 changed files with 74 additions and 75 deletions
@@ -20,7 +20,6 @@ import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.ResponseStatus
import org.springframework.web.bind.annotation.RestController
//import com.project.movienight.adapters.security.UserPrincipal
import java.util.UUID
@RestController
@@ -74,12 +73,4 @@ class UserController(
fun delete(
@PathVariable id: UUID,
) = deleteUserUseCase.delete(id)
/*
@GetMapping("/me")
fun getCurrentUser(principal: UserPrincipal): UserResponse =
UserResponse.fromDomain(
getUserByIdUseCase.getById(principal.getId())
)
*/
}