Enqueue product sync delete event

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