fix phase3 phase4 development acceptance blockers
This commit is contained in:
@@ -47,7 +47,10 @@ export async function run(context) {
|
||||
step(context, '使用 ACTIVE BOOKING 订舱代理事实源', agentResponse, Boolean(agent?.id && agent?.name),
|
||||
`supplierId=${id(agent?.id) || 'missing'}, scope=${agent?.scope || 'not-exposed'}`)
|
||||
if (!agent?.id || !agent?.name) return
|
||||
const data = fullDraft(context, suffix, master, { bookingAgentId: id(agent.id), bookingAgentName: agent.name })
|
||||
const data = fullDraft(context, suffix, master, {
|
||||
bookingAgentId: id(agent.id), bookingAgentName: agent.name,
|
||||
shippingCompanyId: id(agent.id), shippingCompanyName: agent.name,
|
||||
})
|
||||
const create = await request(context, 'POST', BASE, { expectedVersion: 0, data },
|
||||
{ 'Idempotency-Key': `${context.marker}-ocean-draft-create`.slice(0, 128) })
|
||||
const created = payload(create); const bookingId = id(created?.oceanBooking?.id)
|
||||
|
||||
Reference in New Issue
Block a user