Commit 876f27a
fix(OUT-3816): combine webhookProductUpdated guards with and()
The mapped-products filter used the comma operator, so only the
qbSyncToken guard survived and the qbItemId guard was discarded — truly
unmapped rows (null qbItemId) could slip into the update loop. Use and()
to apply both guards. Also drop the stale "updates redis" comment.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 09be43e commit 876f27a
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | 347 | | |
351 | 348 | | |
352 | 349 | | |
| |||
357 | 354 | | |
358 | 355 | | |
359 | 356 | | |
360 | | - | |
361 | | - | |
362 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
363 | 361 | | |
364 | 362 | | |
365 | 363 | | |
| |||
0 commit comments