fix(scripts): use domestic container detail route
This commit is contained in:
@@ -51,7 +51,7 @@ export async function run(context) {
|
||||
}
|
||||
|
||||
const overseasTokenAgainstDomestic = await context.request('GET',
|
||||
`/api/platform/v1/containers/${encodeURIComponent(id(phase3.containerBookingId))}`,
|
||||
`/api/platform/v1/containers/domestic/${encodeURIComponent(id(phase3.containerBookingId))}`,
|
||||
undefined, context.overseasToken)
|
||||
context.assert(MODULE, '海外Token不能访问国内Audience', overseasTokenAgainstDomestic,
|
||||
denied(overseasTokenAgainstDomestic) && traced(overseasTokenAgainstDomestic),
|
||||
|
||||
Reference in New Issue
Block a user