mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-21 09:00:07 +00:00
Build import job API endpoint.
This commit is contained in:
@@ -170,6 +170,16 @@ class ImportJobRepository implements ImportJobRepositoryInterface
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all import jobs.
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function get(): Collection
|
||||
{
|
||||
return $this->user->importJobs()->get();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all attachments for job.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user