fix(dropship): generate pallet numbers atomically and extend full regressions
This commit is contained in:
@@ -25,7 +25,7 @@ function failure(response) {
|
||||
return [400, 401, 403, 404, 409, 503].includes(response?.http)
|
||||
|| (response?.http === 200 && codeOf(response) !== '200')
|
||||
}
|
||||
function containerRecord(value) { return value?.container || value }
|
||||
function containerRecord(value) { return value?.container }
|
||||
|
||||
async function ensureMatsonSupplier(context, records) {
|
||||
const existing = records.find((value) => value?.id && value?.name === MATSON_SUPPLIER_NAME)
|
||||
|
||||
Reference in New Issue
Block a user