diff --git a/app/Jobs/SummarizeDataJob.php b/app/Jobs/SummarizeDataJob.php index 5c4557b3..a6fb6f2b 100644 --- a/app/Jobs/SummarizeDataJob.php +++ b/app/Jobs/SummarizeDataJob.php @@ -33,7 +33,7 @@ public function middleware(): array } return [( - new WithoutOverlapping($this->documentChunk->document->collection_id) + new WithoutOverlapping($this->documentChunk->getDriver()) )]; } diff --git a/app/Jobs/VectorlizeDataJob.php b/app/Jobs/VectorlizeDataJob.php index db857cda..90169118 100644 --- a/app/Jobs/VectorlizeDataJob.php +++ b/app/Jobs/VectorlizeDataJob.php @@ -33,7 +33,7 @@ public function middleware(): array } return [( - new WithoutOverlapping($this->documentChunk->document->collection_id) + new WithoutOverlapping($this->documentChunk->getDriver()) )]; } diff --git a/tests/Feature/Http/Controllers/ReindexCollectionControllerTest.php b/tests/Feature/Http/Controllers/ReindexCollectionControllerTest.php index 99d78025..bc5c0d23 100644 --- a/tests/Feature/Http/Controllers/ReindexCollectionControllerTest.php +++ b/tests/Feature/Http/Controllers/ReindexCollectionControllerTest.php @@ -11,6 +11,6 @@ class ReindexCollectionControllerTest extends TestCase */ public function test_reindex(): void { - $this->markTestSkipped("@TODO had to get back to work!"); + $this->markTestSkipped('@TODO had to get back to work!'); } }