fix: item categories bulk delete.

This commit is contained in:
Ahmed Bouhuolia
2020-10-08 00:23:58 +02:00
parent b9ccc11903
commit f0a67ee1fd
2 changed files with 14 additions and 3 deletions

View File

@@ -429,7 +429,8 @@ export default class ManualJournalsService implements IManuaLJournalsService {
this.logger.info('[manual_journals] trying to get specific manual journal.', { tenantId, manualJournalId });
const manualJournal = await ManualJournal.query()
.findById(manualJournalId)
.withGraphFetched('entries');
.withGraphFetched('entries')
.withGraphFetched('media');
return manualJournal;
}