chore: export ensureComplianceSalesOrder for rescue/backfill use

This commit is contained in:
justin 2026-06-09 14:44:28 -05:00
parent 68e6b60951
commit e2467752dc
2 changed files with 74 additions and 1 deletions

View file

@ -285,7 +285,7 @@ const CDR_STUDY_GRANTING_SLUGS = new Set([
* /checkout/create-session path did, so webhook-confirmed card orders had no SO
* and the workers logged "Sales Order not found 404".
*/
async function ensureComplianceSalesOrder(
export async function ensureComplianceSalesOrder(
orderId: string,
orderType: string,
rows: Record<string, unknown>[],