mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
Various fixes and checks.
This commit is contained in:
@@ -154,6 +154,16 @@ class ImportJobRepository implements ImportJobRepositoryInterface
|
||||
throw new FireflyException('Could not create an import job with a unique key after 30 tries.');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $jobId
|
||||
*
|
||||
* @return ImportJob|null
|
||||
*/
|
||||
public function find(int $jobId): ?ImportJob
|
||||
{
|
||||
return $this->user->importJobs()->find($jobId);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $key
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user