some organization and implement apparel_order_created event

This commit is contained in:
Dominic Ferrando
2026-07-12 19:12:09 -04:00
parent 27c85e6676
commit 7149d95eeb
3 changed files with 80 additions and 41 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export class ProductSyncer {
this.log = (log ?? pino({ level: "silent" })).child({ component: "ProductSyncer" });
}
async sync(opt: ProductSyncerOptions = {}) {
async syncApparel(opt: ProductSyncerOptions = {}) {
const startDate = new Date();
await opt.beforeStart?.(startDate);