fix: includes missing files from last commit
This commit is contained in:
@@ -123,4 +123,16 @@ class DownloadRepository extends ServiceEntityRepository
|
||||
->getQuery()
|
||||
->getResult();
|
||||
}
|
||||
|
||||
public function badDownloadUrls()
|
||||
{
|
||||
return $this->createQueryBuilder('d')
|
||||
->select('d.url')
|
||||
->andWhere('d.status = :status')
|
||||
->andWhere('d.progress = 100')
|
||||
->setParameter('status', 'Failed')
|
||||
->distinct()
|
||||
->getQuery()
|
||||
->getResult();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user