feat: Reader beginning
This commit is contained in:
parent
e90c0a140e
commit
55945adc53
@@ -28,7 +28,7 @@ class InMemoryScrapingJobRepository implements ScrapingJobRepositoryInterface
|
||||
public function findByChapterId(string $chapterId): ?ScrapingJob
|
||||
{
|
||||
foreach (self::$jobs as $job) {
|
||||
if ($job->getChapterId() === $chapterId) {
|
||||
if ($job->getId() === $chapterId) {
|
||||
return $job;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user