Skip to content

Commit d770ed4

Browse files
committed
2 parents 4747d5f + 5588866 commit d770ed4

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

backend/src/main/java/com/back/api/seat/controller/SeatController.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
import com.back.api.seat.dto.response.SeatResponse;
1212
import com.back.api.seat.service.SeatService;
1313
import com.back.domain.seat.entity.Seat;
14-
import com.back.global.error.code.SeatErrorCode;
15-
import com.back.global.error.exception.ErrorException;
1614
import com.back.global.http.HttpRequestContext;
1715
import com.back.global.response.ApiResponse;
1816

@@ -34,10 +32,6 @@ public ApiResponse<List<SeatResponse>> getSeatsByEvent(
3432
) {
3533
Long userId = httpRequestContext.getUser().getId();
3634

37-
if (!queueEntryReadService.existsInWaitingQueue(eventId, userId)) {
38-
throw new ErrorException(SeatErrorCode.NOT_IN_QUEUE);
39-
}
40-
4135
List<Seat> seats = seatService.getSeatsByEvent(eventId, userId);
4236

4337
return ApiResponse.ok(

0 commit comments

Comments
 (0)