mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
fix: system repositories.
This commit is contained in:
@@ -15,11 +15,10 @@ interface IJournalTransactionsFilter {
|
||||
|
||||
export default class AccountTransactionsRepository extends TenantRepository {
|
||||
/**
|
||||
* Constructor method.
|
||||
* Gets the repository's model.
|
||||
*/
|
||||
constructor(knex, cache) {
|
||||
super(knex, cache);
|
||||
this.model = AccountTransaction;
|
||||
get model() {
|
||||
return AccountTransaction.bindKnex(this.knex);
|
||||
}
|
||||
|
||||
journal(filter: IJournalTransactionsFilter) {
|
||||
|
||||
Reference in New Issue
Block a user