mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
feat: ensure organization tenant configured.
This commit is contained in:
@@ -31,6 +31,9 @@ export default class ViewRepository extends TenantRepository {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve all views of the given resource id.
|
||||
*/
|
||||
allByResource() {
|
||||
const resourceId = 1;
|
||||
return this.cache.get(`customView.resource.id.${resourceId}`, () => {
|
||||
|
||||
Reference in New Issue
Block a user