Skip to content

Commit 98e7cb5

Browse files
authored
Merge pull request #34 from justbetter/feature/defer-sync
Check for sync boolean
2 parents 90dc4fe + 18fa5a1 commit 98e7cb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Actions/Retrieval/RetrieveAllStock.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function retrieve(?Carbon $from, bool $defer = true): void
3030

3131
Stock::query()
3232
->whereIn('sku', $existing)
33+
->where('sync', '=', true)
3334
->update(['retrieve' => true]);
3435

3536
Stock::query()->insert(

0 commit comments

Comments
 (0)