Update project 7 FRONT UI -> API -> DB -> RabbitMQ -> Worker -> MinIO
This commit is contained in:
@@ -149,11 +149,12 @@ export default function OctagonSeatMap() {
|
||||
setPendingId(seat.id);
|
||||
|
||||
try {
|
||||
await lockSeatApi(seat.id, userId);
|
||||
const { ticketId } = await lockSeatApi(seat.id, userId);
|
||||
|
||||
// ✅ 200 OK — seat is ours, add to cart
|
||||
// ✅ 200 OK — seat is ours, add to cart with the resolved ticketId
|
||||
addSeat({
|
||||
seatId: seat.id,
|
||||
ticketId,
|
||||
sector: seat.sector,
|
||||
row: seat.row,
|
||||
number: seat.number,
|
||||
|
||||
Reference in New Issue
Block a user