mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
fix: system repositories.
This commit is contained in:
@@ -3,10 +3,9 @@ import TenantRepository from 'repositories/TenantRepository';
|
||||
|
||||
export default class JournalRepository extends TenantRepository {
|
||||
/**
|
||||
* Constructor method.
|
||||
* Gets the repository's model.
|
||||
*/
|
||||
constructor(knex, cache) {
|
||||
super(knex, cache);
|
||||
this.model = ManualJournal;
|
||||
get model() {
|
||||
return ManualJournal.bindKnex(this.knex);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user