mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 17:26:24 +00:00
fix(reservations): write a booking and its linked cost in one transaction
A booking's create and update ran their own transaction, and the linked cost sync ran afterwards from the REST controller and the plugin RPC handler, so a failing cost write left the booking edited and its expense on the old category or price. MCP linked the cost in a second call of its own the same way. ReservationsService.createWithCost and updateWithCost now run the booking write and the cost sync in one transaction and hand the cost events back, so REST, MCP and the plugin RPC call the same method and broadcast only after the commit, in the order they did before. The cost sync keeps swallowing its own failures the way the REST route always has, so a cost that cannot be written still leaves the booking; MCP now behaves like REST there instead of failing the tool after the booking was already saved. The service sheds its inventory markers (RS1..RS54, plan history) to stay under its lint:size entry.
This commit is contained in:
@@ -18,8 +18,7 @@ function makeService(overrides: Partial<ReservationsService> = {}): Reservations
|
||||
referencesOutsideTrip: vi.fn().mockReturnValue([]),
|
||||
unresolvedReferences: vi.fn().mockReturnValue([]),
|
||||
broadcast: vi.fn(),
|
||||
syncBudgetOnCreate: vi.fn(),
|
||||
syncBudgetOnUpdate: vi.fn(),
|
||||
announceCost: vi.fn(),
|
||||
notifyBookingChange: vi.fn(),
|
||||
// Hands the entry back as it came: what freezing does to it is the service's test.
|
||||
withFrozenRate: vi.fn(async (_tripId: string, entry: unknown) => entry),
|
||||
@@ -48,34 +47,40 @@ describe('ReservationsController (parity with the legacy /api/trips/:tripId/rese
|
||||
// The bespoke 'Title is required' 400 moved to the global ZodValidationPipe
|
||||
// (ReservationCreateDto) — covered by the e2e suite.
|
||||
|
||||
it('creates, runs budget sync, broadcasts accommodation + reservation, notifies', async () => {
|
||||
const create = vi.fn().mockReturnValue({ reservation: { id: 9 }, accommodationCreated: true });
|
||||
const broadcast = vi.fn(); const syncBudgetOnCreate = vi.fn(); const notifyBookingChange = vi.fn();
|
||||
const svc = makeService({ create, broadcast, syncBudgetOnCreate, notifyBookingChange } as Partial<ReservationsService>);
|
||||
it('creates the booking and its cost in one write, broadcasts accommodation, cost and reservation in order, notifies', async () => {
|
||||
const costEvents = [{ event: 'budget:created', payload: { item: { id: 3 } } }];
|
||||
const createWithCost = vi.fn().mockReturnValue({ reservation: { id: 9 }, accommodationCreated: true, costEvents });
|
||||
const order: string[] = [];
|
||||
const broadcast = vi.fn((_tripId: string, event: string) => { order.push(event); });
|
||||
const announceCost = vi.fn(() => { order.push('cost'); });
|
||||
const notifyBookingChange = vi.fn();
|
||||
const svc = makeService({ createWithCost, broadcast, announceCost, notifyBookingChange } as Partial<ReservationsService>);
|
||||
const body = { title: 'Hotel', type: 'lodging', create_budget_entry: { total_price: 200 } };
|
||||
expect(await new ReservationsController(svc, airtrailLink).create(user, '5', body, 'sock')).toEqual({ reservation: { id: 9 } });
|
||||
expect(createWithCost).toHaveBeenCalledWith('5', body, { total_price: 200 });
|
||||
expect(announceCost).toHaveBeenCalledWith('5', costEvents, 'sock');
|
||||
expect(broadcast).toHaveBeenCalledWith('5', 'accommodation:created', {}, 'sock');
|
||||
expect(syncBudgetOnCreate).toHaveBeenCalledWith('5', 9, 'Hotel', 'lodging', { total_price: 200 }, 'sock');
|
||||
expect(broadcast).toHaveBeenCalledWith('5', 'reservation:created', { reservation: { id: 9 } }, 'sock');
|
||||
expect(order).toEqual(['accommodation:created', 'cost', 'reservation:created']);
|
||||
expect(notifyBookingChange).toHaveBeenCalledWith('5', user.id, 'Hotel', 'lodging');
|
||||
});
|
||||
|
||||
it('400s on a body id belonging to another trip, without writing', async () => {
|
||||
const create = vi.fn();
|
||||
const createWithCost = vi.fn();
|
||||
const svc = makeService({
|
||||
create,
|
||||
createWithCost,
|
||||
referencesOutsideTrip: vi.fn().mockReturnValue(['accommodation_id']),
|
||||
} as Partial<ReservationsService>);
|
||||
const body = { title: 'Hotel', accommodation_id: 4711 };
|
||||
expect(await thrown(() => new ReservationsController(svc, airtrailLink).create(user, '5', body)))
|
||||
.toEqual({ status: 400, body: { error: 'Not part of this trip: accommodation_id' } });
|
||||
expect(create).not.toHaveBeenCalled();
|
||||
expect(createWithCost).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('400s on a body id that exists nowhere, in its own words, without writing', async () => {
|
||||
const create = vi.fn();
|
||||
const createWithCost = vi.fn();
|
||||
const svc = makeService({
|
||||
create,
|
||||
createWithCost,
|
||||
unresolvedReferences: vi.fn().mockReturnValue(['place_id']),
|
||||
} as Partial<ReservationsService>);
|
||||
const body = { title: 'Hotel', place_id: 4711 };
|
||||
@@ -83,12 +88,12 @@ describe('ReservationsController (parity with the legacy /api/trips/:tripId/rese
|
||||
// the caller looking for it on another trip.
|
||||
expect(await thrown(() => new ReservationsController(svc, airtrailLink).create(user, '5', body)))
|
||||
.toEqual({ status: 400, body: { error: 'Unknown reference: place_id' } });
|
||||
expect(create).not.toHaveBeenCalled();
|
||||
expect(createWithCost).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('answers a foreign id with the older message when it is both', async () => {
|
||||
const svc = makeService({
|
||||
create: vi.fn(),
|
||||
createWithCost: vi.fn(),
|
||||
referencesOutsideTrip: vi.fn().mockReturnValue(['place_id']),
|
||||
unresolvedReferences: vi.fn().mockReturnValue(['place_id']),
|
||||
} as Partial<ReservationsService>);
|
||||
@@ -98,18 +103,17 @@ describe('ReservationsController (parity with the legacy /api/trips/:tripId/rese
|
||||
|
||||
// #2525: an imported booking quoted in dollars. The price has to reach the linked
|
||||
// cost in dollars, at a rate frozen before anything is written.
|
||||
it('hands the budget sync the entry with its currency and frozen rate', async () => {
|
||||
const create = vi.fn().mockReturnValue({ reservation: { id: 9 }, accommodationCreated: false });
|
||||
const syncBudgetOnCreate = vi.fn();
|
||||
it('hands the write the entry with its currency and frozen rate', async () => {
|
||||
const createWithCost = vi.fn().mockReturnValue({ reservation: { id: 9 }, accommodationCreated: false, costEvents: [] });
|
||||
const withFrozenRate = vi.fn(async () => {
|
||||
expect(create).not.toHaveBeenCalled();
|
||||
expect(createWithCost).not.toHaveBeenCalled();
|
||||
return { total_price: 801.76, currency: 'USD', exchange_rate: 1.17 };
|
||||
});
|
||||
const svc = makeService({ create, syncBudgetOnCreate, withFrozenRate } as Partial<ReservationsService>);
|
||||
const svc = makeService({ createWithCost, withFrozenRate } as Partial<ReservationsService>);
|
||||
const body = { title: 'Aparthotel Silver', type: 'hotel', create_budget_entry: { total_price: 801.76, currency: 'usd' } };
|
||||
await new ReservationsController(svc, airtrailLink).create(user, '5', body, 'sock');
|
||||
expect(withFrozenRate).toHaveBeenCalledWith('5', { total_price: 801.76, currency: 'usd' });
|
||||
expect(syncBudgetOnCreate).toHaveBeenCalledWith('5', 9, 'Aparthotel Silver', 'hotel', { total_price: 801.76, currency: 'USD', exchange_rate: 1.17 }, 'sock');
|
||||
expect(createWithCost).toHaveBeenCalledWith('5', body, { total_price: 801.76, currency: 'USD', exchange_rate: 1.17 });
|
||||
});
|
||||
});
|
||||
|
||||
@@ -133,14 +137,18 @@ describe('ReservationsController (parity with the legacy /api/trips/:tripId/rese
|
||||
expect(await thrown(() => new ReservationsController(svc, airtrailLink).update(user, '5', '9', { title: 'X' }))).toEqual({ status: 404, body: { error: 'Reservation not found' } });
|
||||
});
|
||||
|
||||
it('updates, syncs budget with current fallbacks, broadcasts + notifies', async () => {
|
||||
const getReservation = vi.fn().mockReturnValue({ title: 'Old', type: 'lodging' });
|
||||
const update = vi.fn().mockReturnValue({ reservation: { id: 9 }, accommodationChanged: true });
|
||||
const broadcast = vi.fn(); const syncBudgetOnUpdate = vi.fn(); const notifyBookingChange = vi.fn();
|
||||
const svc = makeService({ getReservation, update, broadcast, syncBudgetOnUpdate, notifyBookingChange } as Partial<ReservationsService>);
|
||||
await new ReservationsController(svc, airtrailLink).update(user, '5', '9', { create_budget_entry: { total_price: 50 } }, 'sock');
|
||||
it('updates the booking and its cost in one write, broadcasts + notifies with current fallbacks', async () => {
|
||||
const current = { title: 'Old', type: 'lodging' };
|
||||
const getReservation = vi.fn().mockReturnValue(current);
|
||||
const costEvents = [{ event: 'budget:updated', payload: { item: { id: 3 } } }];
|
||||
const updateWithCost = vi.fn().mockReturnValue({ reservation: { id: 9 }, accommodationChanged: true, costEvents });
|
||||
const broadcast = vi.fn(); const announceCost = vi.fn(); const notifyBookingChange = vi.fn();
|
||||
const svc = makeService({ getReservation, updateWithCost, broadcast, announceCost, notifyBookingChange } as Partial<ReservationsService>);
|
||||
const body = { create_budget_entry: { total_price: 50 } };
|
||||
await new ReservationsController(svc, airtrailLink).update(user, '5', '9', body, 'sock');
|
||||
expect(updateWithCost).toHaveBeenCalledWith('9', '5', body, current, { total_price: 50 });
|
||||
expect(broadcast).toHaveBeenCalledWith('5', 'accommodation:updated', {}, 'sock');
|
||||
expect(syncBudgetOnUpdate).toHaveBeenCalledWith('5', '9', '', undefined, 'Old', 'lodging', { total_price: 50 }, 'sock');
|
||||
expect(announceCost).toHaveBeenCalledWith('5', costEvents, 'sock');
|
||||
expect(notifyBookingChange).toHaveBeenCalledWith('5', user.id, 'Old', 'lodging');
|
||||
});
|
||||
|
||||
@@ -148,7 +156,7 @@ describe('ReservationsController (parity with the legacy /api/trips/:tripId/rese
|
||||
const update = vi.fn();
|
||||
const svc = makeService({
|
||||
getReservation: vi.fn().mockReturnValue({ title: 'Old', type: 'lodging' }),
|
||||
update,
|
||||
updateWithCost: update,
|
||||
referencesOutsideTrip: vi.fn().mockReturnValue(['day_id', 'place_id']),
|
||||
} as Partial<ReservationsService>);
|
||||
expect(await thrown(() => new ReservationsController(svc, airtrailLink).update(user, '5', '9', { day_id: 1, place_id: 2 })))
|
||||
@@ -160,7 +168,7 @@ describe('ReservationsController (parity with the legacy /api/trips/:tripId/rese
|
||||
const update = vi.fn();
|
||||
const svc = makeService({
|
||||
getReservation: vi.fn().mockReturnValue({ title: 'Old', type: 'lodging' }),
|
||||
update,
|
||||
updateWithCost: update,
|
||||
unresolvedReferences: vi.fn().mockReturnValue(['day_id', 'place_id']),
|
||||
} as Partial<ReservationsService>);
|
||||
// The reporter's request: a foreign-key error used to reach the caller as
|
||||
|
||||
@@ -706,6 +706,63 @@ describe('ReservationsService (DI-native, real SQL)', () => {
|
||||
expect(testDb.prepare('SELECT reservation_id FROM budget_items WHERE id = ?').get(created.id)).toEqual({ reservation_id: res.id });
|
||||
expect(broadcast).toHaveBeenCalledWith(String(trip.id), 'budget:created', { item: { id: created.id, reservation_id: res.id } }, 'sock');
|
||||
});
|
||||
|
||||
it('RESV-TX-001: updateWithCost rolls the booking edit back when its cost write fails', async () => {
|
||||
const { trip, res } = linkedItem({ category: 'other' });
|
||||
testDb.prepare("UPDATE reservations SET title = 'Old', type = 'other' WHERE id = ?").run(res.id);
|
||||
const current = (await svc.getReservation(String(res.id), String(trip.id)))!;
|
||||
budget.updateBudgetItem.mockRejectedValueOnce(new Error('boom'));
|
||||
|
||||
// other -> flight re-files the linked expense, and that write throws.
|
||||
await expect(svc.updateWithCost(String(res.id), String(trip.id), { title: 'New', type: 'flight' } as never, current, undefined))
|
||||
.rejects.toThrow('boom');
|
||||
|
||||
expect(testDb.prepare('SELECT title, type FROM reservations WHERE id = ?').get(res.id)).toEqual({ title: 'Old', type: 'other' });
|
||||
expect(broadcast).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('RESV-TX-002: updateWithCost hands the cost events back instead of sending them inside the write', async () => {
|
||||
const { trip, res, item } = linkedItem();
|
||||
const current = (await svc.getReservation(String(res.id), String(trip.id)))!;
|
||||
budget.updateBudgetItem.mockReturnValue({ id: item.id });
|
||||
|
||||
const out = await svc.updateWithCost(String(res.id), String(trip.id), { title: 'New' } as never, current, { total_price: 80 });
|
||||
|
||||
expect(out.costEvents).toEqual([{ event: 'budget:updated', payload: { item: { id: item.id } } }]);
|
||||
expect(broadcast).not.toHaveBeenCalledWith(String(trip.id), 'budget:updated', expect.anything(), expect.anything());
|
||||
svc.announceCost(String(trip.id), out.costEvents, 'sock');
|
||||
expect(broadcast).toHaveBeenCalledWith(String(trip.id), 'budget:updated', { item: { id: item.id } }, 'sock');
|
||||
});
|
||||
});
|
||||
|
||||
describe('createWithCost', () => {
|
||||
it('RESV-TX-003: links the cost inside the booking write and hands its event back', async () => {
|
||||
const { trip } = ownerTrip();
|
||||
budget.linkBudgetItemToReservation.mockReturnValue({ id: 7 });
|
||||
|
||||
const out = await svc.createWithCost(String(trip.id), { title: 'Hotel', type: 'other' } as never, { total_price: 200 });
|
||||
|
||||
expect(budget.linkBudgetItemToReservation).toHaveBeenCalledWith(String(trip.id), out.reservation.id, { name: 'Hotel', category: 'other', total_price: 200 });
|
||||
expect(out.costEvents).toEqual([{ event: 'budget:created', payload: { item: { id: 7 } } }]);
|
||||
expect(broadcast).not.toHaveBeenCalledWith(String(trip.id), 'budget:created', expect.anything(), expect.anything());
|
||||
});
|
||||
|
||||
it('RESV-TX-004: a failing cost keeps the booking, as the REST route always has', async () => {
|
||||
const { trip } = ownerTrip();
|
||||
budget.linkBudgetItemToReservation.mockRejectedValueOnce(new Error('boom'));
|
||||
|
||||
const out = await svc.createWithCost(String(trip.id), { title: 'Hotel', type: 'other' } as never, { total_price: 200 });
|
||||
|
||||
expect(out.costEvents).toEqual([]);
|
||||
expect(testDb.prepare('SELECT title FROM reservations WHERE id = ?').get(out.reservation.id)).toEqual({ title: 'Hotel' });
|
||||
});
|
||||
|
||||
it('RESV-TX-005: without a price there is no cost and no event', async () => {
|
||||
const { trip } = ownerTrip();
|
||||
const out = await svc.createWithCost(String(trip.id), { title: 'Dinner' } as never, undefined);
|
||||
expect(out.costEvents).toEqual([]);
|
||||
expect(budget.linkBudgetItemToReservation).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
|
||||
describe('notifyBookingChange', () => {
|
||||
|
||||
@@ -211,8 +211,8 @@ describe('service errors are translated into the RPC taxonomy', () => {
|
||||
const notifyBookingChange = vi.fn();
|
||||
const reservations = {
|
||||
getReservation: vi.fn(() => ({ id: 5, title: 'Hotel', type: 'lodging' })),
|
||||
update: vi.fn(() => ({ reservation: { id: 5 }, accommodationChanged: false })),
|
||||
syncBudgetOnUpdate: vi.fn(),
|
||||
updateWithCost: vi.fn(() => ({ reservation: { id: 5 }, accommodationChanged: false, costEvents: [] })),
|
||||
announceCost: vi.fn(),
|
||||
referencesOutsideTrip: vi.fn(() => []),
|
||||
unresolvedReferences: vi.fn(() => []),
|
||||
notifyBookingChange,
|
||||
|
||||
@@ -36,16 +36,15 @@ function build(opts: { canEdit?: boolean; cascade?: boolean; stop?: boolean; see
|
||||
// The expenses a delete takes with it: one with `cascade`, any number with `expenses` (#2084).
|
||||
const expenses = opts.expenses ?? (opts.cascade ? [7] : []);
|
||||
const reservations = {
|
||||
create: vi.fn(() => ({ reservation: { id: 40 }, accommodationCreated: !!opts.cascade })),
|
||||
createWithCost: vi.fn(() => ({ reservation: { id: 40 }, accommodationCreated: !!opts.cascade, costEvents: [] })),
|
||||
getReservation: vi.fn((id: string) => (id === '5' ? { id: 5, title: 'Hotel', type: 'lodging' } : undefined)),
|
||||
update: vi.fn(() => ({ reservation: { id: 5 }, accommodationChanged: !!opts.cascade })),
|
||||
updateWithCost: vi.fn(() => ({ reservation: { id: 5 }, accommodationChanged: !!opts.cascade, costEvents: [] })),
|
||||
remove: vi.fn((id: string) =>
|
||||
id === '5'
|
||||
? { deleted: { title: 'Hotel', type: 'lodging', accommodation_id: opts.cascade ? 11 : null }, accommodationDeleted: !!opts.cascade, deletedBudgetItemId: expenses[0] ?? null, deletedBudgetItemIds: expenses }
|
||||
: { deleted: null, accommodationDeleted: false, deletedBudgetItemId: null, deletedBudgetItemIds: [] },
|
||||
),
|
||||
syncBudgetOnCreate: vi.fn(),
|
||||
syncBudgetOnUpdate: vi.fn(),
|
||||
announceCost: vi.fn(),
|
||||
// The price's currency and rate are the service's to resolve; here it passes through.
|
||||
withFrozenRate: vi.fn(async (_tripId: number, entry: unknown) => entry),
|
||||
notifyBookingChange: vi.fn(),
|
||||
@@ -122,7 +121,7 @@ describe('ReservationsRpc', () => {
|
||||
)) as RpcError;
|
||||
expect(res.error.code).toBe('BAD_PARAMS');
|
||||
// Otherwise it fails deep in the service mid-transaction, or is silently dropped.
|
||||
expect(f.reservations.create).not.toHaveBeenCalled();
|
||||
expect(f.reservations.createWithCost).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('BOOK-RPC-003 an absent endpoints field stays absent, which means "keep"', async () => {
|
||||
@@ -160,10 +159,11 @@ describe('ReservationsRpc', () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it('BOOK-RPC-007 the budget sync and the booking notification both run', async () => {
|
||||
it('BOOK-RPC-007 the booking and its cost are one service write, and the booking notification runs', async () => {
|
||||
const f = build();
|
||||
await f.host().dispatch(req('reservations.create', { tripId: 1, input: { title: 'Hotel', type: 'lodging' } }), 42);
|
||||
expect(f.reservations.syncBudgetOnCreate).toHaveBeenCalled();
|
||||
expect(f.reservations.createWithCost).toHaveBeenCalledWith('1', expect.objectContaining({ title: 'Hotel' }), undefined);
|
||||
expect(f.reservations.announceCost).toHaveBeenCalledWith(1, [], undefined);
|
||||
expect(f.reservations.notifyBookingChange).toHaveBeenCalledWith(1, 42, 'Hotel', 'lodging');
|
||||
});
|
||||
|
||||
@@ -180,7 +180,7 @@ describe('ReservationsRpc', () => {
|
||||
// defence in depth, but the schema is what a plugin actually hits first.
|
||||
const res = (await f.host().dispatch(req('reservations.create', { tripId: 1, input: {} }), 42)) as RpcError;
|
||||
expect(res.error.code).toBe('BAD_PARAMS');
|
||||
expect(f.reservations.create).not.toHaveBeenCalled();
|
||||
expect(f.reservations.createWithCost).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('BOOK-RPC-008c an update without a title keeps the current one', async () => {
|
||||
@@ -208,7 +208,7 @@ describe('ReservationsRpc', () => {
|
||||
req('reservations.update', { tripId: 1, reservationId: 5, input: { title: 'x', type: 'lodging', endpoints: [{ nonsense: true }] } }), 42,
|
||||
)) as RpcError;
|
||||
expect(res.error.code).toBe('BAD_PARAMS');
|
||||
expect(f.reservations.update).not.toHaveBeenCalled();
|
||||
expect(f.reservations.updateWithCost).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('BOOK-RPC-018 an id that resolves to nothing is BAD_PARAMS, not a constraint failure', async () => {
|
||||
@@ -218,7 +218,7 @@ describe('ReservationsRpc', () => {
|
||||
)) as RpcError;
|
||||
expect(res.error.code).toBe('BAD_PARAMS');
|
||||
expect(res.error.message).toBe('unknown reference: place_id');
|
||||
expect(f.reservations.create).not.toHaveBeenCalled();
|
||||
expect(f.reservations.createWithCost).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('BOOK-RPC-019 the same on update', async () => {
|
||||
@@ -227,7 +227,7 @@ describe('ReservationsRpc', () => {
|
||||
req('reservations.update', { tripId: 1, reservationId: 5, input: { title: 'x', type: 'lodging', day_id: 999999 } }), 42,
|
||||
)) as RpcError;
|
||||
expect(res.error.code).toBe('BAD_PARAMS');
|
||||
expect(f.reservations.update).not.toHaveBeenCalled();
|
||||
expect(f.reservations.updateWithCost).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('BOOK-RPC-020 an id from another trip is RESOURCE_FORBIDDEN before the write, on create and update', async () => {
|
||||
@@ -240,13 +240,13 @@ describe('ReservationsRpc', () => {
|
||||
const created = (await f.host().dispatch(req('reservations.create', { tripId: 1, input: stay }), 42)) as RpcError;
|
||||
expect(created.error.code).toBe('RESOURCE_FORBIDDEN');
|
||||
expect(created.error.message).toBe('not part of trip 1: create_accommodation.start_day_id');
|
||||
expect(f.reservations.create).not.toHaveBeenCalled();
|
||||
expect(f.reservations.createWithCost).not.toHaveBeenCalled();
|
||||
|
||||
const g = build({ foreign: ['day_id'] });
|
||||
const updated = (await g.host().dispatch(req('reservations.update', { tripId: 1, reservationId: 5, input: { title: 'x', type: 'lodging', day_id: 4711 } }), 42)) as RpcError;
|
||||
expect(updated.error.code).toBe('RESOURCE_FORBIDDEN');
|
||||
expect(updated.error.message).toBe('not part of trip 1: day_id');
|
||||
expect(g.reservations.update).not.toHaveBeenCalled();
|
||||
expect(g.reservations.updateWithCost).not.toHaveBeenCalled();
|
||||
expect(g.realtime.broadcast).not.toHaveBeenCalled();
|
||||
|
||||
// The same body with this trip's ids goes through.
|
||||
|
||||
Reference in New Issue
Block a user