Commit 2325b7d
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 2de4fa2 commit 2325b7d
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | 349 | | |
353 | 350 | | |
354 | 351 | | |
| |||
359 | 356 | | |
360 | 357 | | |
361 | 358 | | |
362 | | - | |
363 | | - | |
364 | | - | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
365 | 363 | | |
366 | 364 | | |
367 | 365 | | |
| |||
0 commit comments