mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Add missing API endpoints.
This commit is contained in:
@@ -121,4 +121,14 @@ class JournalAPIRepository implements JournalAPIRepositoryInterface
|
||||
{
|
||||
$this->user = $user;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getJournalLinks(TransactionJournal $journal): Collection
|
||||
{
|
||||
$collection = $journal->destJournalLinks()->get();
|
||||
|
||||
return $journal->sourceJournalLinks()->get()->merge($collection);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user