Fix Room controller debug response import
All checks were successful
build-and-deploy / build-deploy (push) Successful in 26s

This commit is contained in:
androidlover5842
2026-01-27 02:21:20 +05:30
parent 4f2eb3d671
commit d38a29111d

View File

@@ -28,6 +28,7 @@ import org.springframework.web.bind.annotation.ResponseStatus
import org.springframework.web.bind.annotation.RestController
import org.springframework.web.server.ResponseStatusException
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter
import jakarta.servlet.http.HttpServletResponse
import java.time.LocalDate
import java.time.ZoneId
import java.util.UUID
@@ -164,7 +165,7 @@ class Rooms(
fun createRoom(
@PathVariable propertyId: UUID,
@AuthenticationPrincipal principal: MyPrincipal?,
@javax.servlet.http.HttpServletResponse response: javax.servlet.http.HttpServletResponse,
response: HttpServletResponse,
@org.springframework.web.bind.annotation.RequestHeader(value = "X-Debug-Auth", required = false)
debugAuth: String?,
@RequestBody request: RoomUpsertRequest